[CMake] cmake 2.6.4 won't find boost 1.40 on windows
John Drescher
drescherjm at gmail.com
Thu Sep 17 18:22:41 EDT 2009
On Thu, Sep 17, 2009 at 6:10 PM, Cristian Adam <cristian.adam at gmx.net> wrote:
> James C. Sutherland wrote:
>>
>> From FindBoost.cmake:
>>
>> # These last three variables are available also as environment variables:
>> #
>> # BOOST_ROOT or BOOSTROOT The preferred installation prefix for
>> searching for
>> # Boost. Set this if the module has
>> problems finding
>> # the proper Boost installation.
>>
>> Did you try setting one of these variables?
>>
>
> Now I've tried setting BOOST_ROOT, but I don't see a big improvement
> over BOOST_INCLUDEDIR :)
>
> #set(BOOST_INCLUDEDIR "c:/boost/include/boost-1_40")
> set(BOOST_ROOT "c:/boost/include/boost-1_40")
>
You set BOOST_ROOT in your windows environment variables.
John
More information about the CMake
mailing list