[CMake] How to find versioned Boost libraries?

Philip Lowman philip at yhbt.com
Thu Feb 19 10:47:11 EST 2009


Try downloading CMake 2.6.3 RC (to use it's FindBoost) then call

set(Boost_DEBUG TRUE) before you call find_package(Boost...).  If it 
doesn't work, paste the output here and we can help figure out what's wrong.

...... Original Message .......
On Thu, 19 Feb 2009 15:01:26 +0100 "Peter Simons" <simons at cryp.to> wrote:
>Pau Garcia i Quiles writes:
>
> > FindBoost.cmake from CMake 2.6.2 does not look for Boost 1.37.0 or
> > newer by default. Either you update to CMake CVS (or 2.6.3RC), or you
> > do this:
> >
> > SET( Boost_ADDITIONAL_VERSIONS 1.38 1.38.0 )
>
>I added that line to my CMakeLists.txt file, but it doesn't seem to make
>any difference: CMake still doesn't find the libraries. I'll try to
>figure out what exactly is going wrong.
>
>Take care
>Peter
>
>_______________________________________________
>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
-- 
Philip Lowman


More information about the CMake mailing list