Hi all,

I was wondering what is the preferred way to look for a library and/or a
header file. I noticed that most (if not all) pre-packaged cmake modules
use find_file and find_library. 

Is there a reason that they do not use check_include_file and
check_library_exists?

If writing my own cmake modules, should I use find_file and
find_library, or check_include_file and check_library_exists?

Best regards,
Marcel Loose.


_______________________________________________
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to