[CMake] test linker flags?

Clifford Yapp cliffyapp at gmail.com
Thu Jul 14 21:15:54 EDT 2011


Is there a way to test flags supplied to the linker
(CMAKE_SHARED_LINKER_FLAGS) in the same way we can test compiler flags
with CHECK_C_COMPILER_FLAG?  I'd like to check if -Wl,--no-undefined
works or not before using it.

Cheers,
CY


More information about the CMake mailing list