Fix cmake call for openemebedded builds (and Fedora)
Submitted by Andreas Müller
Assigned to poppler-bugs
Link to original bug (#105852)
Description
Created attachment 138506 Patch
Overwriting CMAKE_CXX_FLAGS/CMAKE_C_FLAGS breaks openemebedded/yocto build and it seems Fedora needs a workaround too.
Patch 138506, "Patch":
0001-Do-not-overwrite-all-build-flags-when-running-cmake.patch