diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 62162388b35..f710662ec63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1115,12 +1115,12 @@ if(UNIX AND NOT APPLE) execute_process( COMMAND ${CMAKE_C_COMPILER} -fuse-ld=gold -Wl,--version ERROR_QUIET OUTPUT_VARIABLE LD_VERSION) - if ("${LD_VERSION}" MATCHES "GNU gold") + if("${LD_VERSION}" MATCHES "GNU gold") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fuse-ld=gold") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-ld=gold") - else () - message(INFO "GNU gold linker isn't available, using the default system linker.") - endif () + else() + message(STATUS "GNU gold linker isn't available, using the default system linker.") + endif() unset(LD_VERSION) # CLang is the same as GCC for now. |