[CMake] How to find versioned Boost libraries?

Pau Garcia i Quiles pgquiles at elpauer.org
Thu Feb 19 09:18:08 EST 2009


On Thu, Feb 19, 2009 at 3:01 PM, 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.

That should have worked. Try this instead:

http://marc2.theaimsgroup.com/?l=kde-devel&m=123224005701050&w=2

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)


More information about the CMake mailing list