[CMake] CheckLibraryExists behaviour with different compilers
Nils Gladitz
nilsgladitz at gmail.com
Mon Apr 20 05:55:26 EDT 2015
On 04/20/2015 11:47 AM, victor sv wrote:
> CHECK_LIBRARY_EXISTS(metis METIS_SetDefaultOptions ${METIS_PATH}
> HAVE_METIS_SETDEFAULTOPTIONS)
[...]
>
> But if I build my project with GNU compilers and METIS still compiled
> with Intel compilers, CMake says:
>
>
> Looking for METIS_SetDefaultOptions in metis - not found
I'd first check CMakeFiles/CMakeError.log to see why it actually failed.
Nils
More information about the CMake
mailing list