[CMake] find_library questions

Dennis Schridde devurandom at gmx.net
Wed Aug 4 03:58:07 EDT 2010


Hello!

I have two questions concerning find_library:

1) Is it possible to
retrieve the path where find_library found the library? E.g. so I can setup
..._LIBRARY_DIR correctly.

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".

--Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100804/d3b58811/attachment.pgp>


More information about the CMake mailing list