18 Sep
2009
18 Sep
'09
3:20 p.m.
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