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>
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)