changeset 15474 | 6e09555b25b4 |
parent 10783 | 8e742c9ffdf8 |
child 15476 | 3102d95a870e |
--- a/cmake_modules/compilerchecks.cmake Wed Oct 09 15:30:29 2019 +0200 +++ b/cmake_modules/compilerchecks.cmake Wed Oct 09 16:35:06 2019 +0200 @@ -62,7 +62,7 @@ endif() endif() - if(CMAKE_BUILD_TYPE MATCHES "RELEASE" OR CMAKE_BUILD_TYPE MATCHES "RELWITHDEBINFO") + if(CMAKE_BUILD_TYPE MATCHES "Release" OR CMAKE_BUILD_TYPE MATCHES "RelWithDebInfo") set(CMAKE_REQUIRED_FLAGS "-Wl,--as-needed") check_c_compiler_flag("" HAVE_ASNEEDED) if(HAVE_ASNEEDED)