[CMake] Does find_library check that a found library does in fact link?

Clifford Yapp cliffyapp at gmail.com
Tue Sep 27 20:44:03 EDT 2011


I've run into a situation where find_library is returning a symlink:

/usr/lib/libblah.so -> libblah.so.1

 but libblah.so.1 does not actually exist (e.g. the symlink is bad).

Is there an option I can set to have find_library ensure that a found
library file is valid and links?

Cheers,
CY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110927/460f36fb/attachment.htm>


More information about the CMake mailing list