Closed netheril96 closed 4 years ago
Thanks @netheril96.
Forgive me for asking... What problem does this solve?
Without this change, CheckCompileLinkOption
on macOS always returns failure, even if it should report success. The reason, as have been discussed in #41 , is that CheckCompileLinkOption invokes the CMAKE_CXX_COMPILER directly, but Xcode compiler cannot be invoked directly. try_compile
resolves this problem.
Hello?
Thanks @netheril96
This fixes #41. The builtin
try_compile
automatically sets the correct isysroot.