[cmake-developers] Strange behaviour with check_library_exists on Windows

Ben Boeckel ben.boeckel at kitware.com
Thu Jul 28 08:03:04 EDT 2016


On Thu, Jul 28, 2016 at 13:33:35 +0300, Sergei Nikulov wrote:
> -- Looking for CertFreeCertificateContext in crypt32;
> -- Looking for CertFreeCertificateContext in crypt32; - found
> crypt32 found

These are tested using try_compile. Is there anything interesting under
CMakeFiles/CMakeTmp/* when you configure with --debug-trycompile? It
should contain the example files used and output from the compiler.

Thanks,

--Ben


More information about the cmake-developers mailing list