changeset 10783 | 8e742c9ffdf8 |
parent 9339 | 14f5f3a1e2f7 |
child 15474 | 6e09555b25b4 |
--- a/cmake_modules/compilerchecks.cmake Tue Jan 06 16:38:39 2015 +0100 +++ b/cmake_modules/compilerchecks.cmake Thu Jan 15 11:48:28 2015 +0100 @@ -62,7 +62,7 @@ endif() endif() - if(CMAKE_BUILD_TYPE MATCHES "RELEASE") + 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)