>> 1) Is it possible to
retrieve the path where find_library found the library? E.g. so I can setup
..._LIBRARY_DIR correctly.
Yes, see GET_FILENAME_COMPONENT.
2) Is it possible to disable the "lib" prefix
that find_library always seems to prepend when searching? I have a library
that is called "thelibrary.so" instead of "libthelibrary.so".
Yes, specify name that you want to find. Like "NAMES libMyLib MyLib"
Denis
_______________________________________________
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