Arguments for compiler checks

Hi there,

I’m currently implementing a new compiler support, which is doing cross compilation. I run into problems with the compiler checks. The arguments needed for the compiler checks are not always needed for the actual compilation of the project. Is there a possibility to work around that? For example: For the CXX ABI Check a certain library needs to be linked.


Take a look at CMAKE_TRY_COMPILE_TARGET_TYPE and setting it to STATIC_LIBRARY.

1 Like

Thanks, that helped.