Hello all,

i'm using CMake 2.8.12.2 and trying to search a symbol inside METIS library
with:

    CHECK_LIBRARY_EXISTS(metis METIS_SetDefaultOptions ${METIS_PATH}
HAVE_METIS_SETDEFAULTOPTIONS)

If METIS library was compiled with Intel compilers and i build my project
with the same compilers CMake says:

Looking for METIS_SetDefaultOptions in metis - found


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


Is it the expected behaviour?


Someone knows how to do this in a clean/portable way?


Any help would be appreciated.


Best regards,

VĂ­ctor.
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to