On 09/28/2011 02:44 AM, Clifford Yapp wrote:
> 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
> 

Yes, but you need to do it yourself, e.g. use the CheckFunctionExists
module.

Michael
--

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