[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kdesupport-for-4.2 cmake error
From:       "Pau Garcia i Quiles" <pgquiles () elpauer ! org>
Date:       2009-01-18 11:43:00
Message-ID: 3af572ac0901180343i624b466mbdf03f063237e44c () mail ! gmail ! com
[Download RAW message or body]

On Sun, Jan 18, 2009 at 11:32 AM, Andreas Pakulat <apaku@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)
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic