[CMake] CHECK_CXX_SOURCE_COMPILES attempts linking
Alexander Neundorf
a.neundorf-work at gmx.net
Sat Sep 5 13:19:01 EDT 2009
On Thursday 03 September 2009, John Smith wrote:
> It seems that CHECK_CXX_SOURCE_COMPILES attempts to link the object
> files into an executable:
Yes. Sometimes having it only compile but not link would be nice, but that's
not the case.
You can specifiy libraries to link to, so it should be possible to get it
linking.
Or just add an empty main() ?
Alex
More information about the CMake
mailing list