Boost logo

Boost Users :

Subject: Re: [Boost-users] How to find Boost 1.40.0 with cmake 2.6?
From: Mikko Vainio (mikko.vainio_at_[hidden])
Date: 2009-09-18 11:20:21


Hi Ingolf,

On 09/18/2009 05:50 PM, Ingolf Steinbach wrote:
[snip]
>
> I have found that I need to at least
> set(Boost_ADDITIONAL_VERSIONS "1.40" "1.40.0")
[snip]
> Is it possible to avoid having to specify BOOST_ROOT in the CMakeLists.txt file?
[snip]

Yes, according to my experience you need Boost_ADDITIONAL_VERSIONS set
as you do, and the option -DBOOST_ROOT=/path/to/boost on the command
line to cmake. This works for me.

Cheers,
Mikko


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net