kdesupport-for-4.2 cmake error

Pau Garcia i Quiles pgquiles at elpauer.org
Sun Jan 18 12:43:00 CET 2009


On Sun, Jan 18, 2009 at 11:32 AM, Andreas Pakulat <apaku at gmx.de> wrote:

>> SET( _boost_TEST_VERSIONS ${Boost_ADDITIONAL_VERSIONS} "1.37.0"
>> "1.36.1" "1.36.0" "1.35.1" "1.35.0" "1.35" "1.34.1" "1.34.0" "1.34"
>> "1.33.1" "1.33.0" "1.33" )
>
> Or instead of that, simply _read_ the line and understand it. It also uses
> a cmake variable which you can set before running find_package(), so
> there's no need to patch FindBoost.cmake. The variable exists for a reason!

So in a year, after Boost 1.38.1, 1.38.0 and 1.37.1 are out, to make
FindBoost.cmake will work with CMake 2.6.2, I'll have to run "cmake
-DBoost_ADDITIONAL_VERSIONS=1.38.1;1.38.0;1.37.1;1.37.0" ?

I'm sorry but I think that's not the proper way to do things. What's
the problem with parsing version.hpp? That will work forever, with no
need to specify Boost_ADDITIONAL_VERSIONS or update FindBoost.cmake

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


More information about the Kde-buildsystem mailing list