Hi,

I am using Cygwin on Windows, using CMake 2.6.2. I was originally debugging
FindBoost, when I narrowed the problem down to FIND_LIBRARY. This simple
statement does not find the library:

SET (CMAKE_FIND_LIBRARY_SUFFIXES .a)
FIND_LIBRARY(NAMES test HINTS /usr/local/lib)

However, this works:

FIND_LIBRARY(NAMES test.a HINTS /usr/local/lib)

Is this a known bug (that's only prevalent on Cygwin)? To solve my problem
with FindBoost, I had to manually add in the ".a" into the FIND_LIBRARY
command.

Thanks,
Oliver
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to