CMake: Remove link test output line
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>
Sun, 9 Sep 2018 22:29:34 +0000 (23:29 +0100)
committerJoão Valverde <j@v6e.pt>
Sun, 9 Sep 2018 22:33:00 +0000 (22:33 +0000)
The mode keyword STATUS needs to be capitalized, but this line is
mostly redundant with the check_c_source_compiles_output(), so
just remove it.

Change-Id: I7f29915a7ab2c4b5681e0159773d9216643f8a9c
Reviewed-on: https://code.wireshark.org/review/29524
Reviewed-by: João Valverde <j@v6e.pt>
cmake/modules/CheckCLinkerFlag.cmake

index fa24e7c42d26fcc61752d6ae85bdc500cd86df43..f21d573f701bd548d5d01d2beca4ee2ef1d7e14e 100644 (file)
@@ -51,7 +51,6 @@ MACRO (CHECK_C_LINKER_FLAG _FLAG _RESULT)
       set(CMAKE_REQUIRED_LIBRARIES
          "-Werror=unused-command-line-argument ${CMAKE_REQUIRED_LIBRARIES}")
    endif()
-   message(status "check linker flag - test linker flags: ${_FLAG}")
    check_c_source_compiles("int main(void) { return 0;}" ${_RESULT})
    set(CMAKE_REQUIRED_LIBRARIES "${save_CMAKE_REQUIRED_LIBRARIES}")
 ENDMACRO (CHECK_C_LINKER_FLAG)