Skip to content
  • Alexander Richardson's avatar
    Always append to CMAKE_{C,CXX}_FLAGS_${CMAKE_BUILD_TYPE} · 53ecbfc9
    Alexander Richardson authored
    Currently the user/toolchain-provided CMAKE_{C,CXX}_FLAGS can be lost
    if the user selects a CMAKE_BUILD_TYPE that is not handled by
    PopplerMacros.cmake. To avoid this problem use a foreach() loop over
    all known build types plus the current CMAKE_BUILD_TYPE that appends
    to the per-configuration flags.
    53ecbfc9