[CMake] findBoost says it finds static unit testing libraries, but does not set them

Jonatan Bijl jonatan.bijl at tba.nl
Thu Apr 9 06:49:09 EDT 2009


I've compiled the static versions of the boost libraries. When I use
findBoost to detect the unit_test_framework, it gives the following
message:

Found the following Boost libraries:

thread

unit_test_framework

 

But the variables Boost_UNIT_TEST_FRAMEWORK_LIBRARY_DEBUG and
Boost_UNIT_TEST_FRAMEWORK_LIBRARY_RELEASE are not found.

I have set the additional-versions and use-static-libs flags before
calling find_package

 

 

I guess it has to do with the -s suffix the library files have
(libboost_unit_test_framework-mt-d-s.a)

Is this a bug in findboost.cmake?

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090409/c3c31ab4/attachment.htm>


More information about the CMake mailing list