[cmake-developers] try_compile does not work for linker flags?

Stephen Kelly steveire at gmail.com
Fri Oct 7 07:21:49 EDT 2011


Hi,

The dashboard is heating up with my unit tests again.

I have a check for the Wl,--no-undefined flag in the test, and on some 
platforms the check passes (it seems), but the test fails later.

example:
http://www.cdash.org/CDash/testDetails.php?test=118193330&build=1601576

Does try_compile not work for linker flags?




More information about the cmake-developers mailing list