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