Remove FindBoost.cmake from kdelibs
Andreas Pakulat
apaku at gmx.de
Thu May 7 00:14:50 CEST 2009
On 06.05.09 23:10:26, Pino Toscano wrote:
> Alle mercoledì 06 maggio 2009, Alexander Neundorf ha scritto:
> > Or how about that ?
> > Instead of completely removing FindBoost.cmake, we replace it with an
> > almost empty one:
> >
> > set(Boost_ADDITIONAL_VERSIONS "1.39.0" "1.39" "1.38.0" "1.38"
> > "1.37.0" "1.37")
> >
> > include(${CMAKE_ROOT}/Modules/FindBoost.cmake)
> >
> > This way we wouldn't have additional logic in our version, but we would
> > still add these version numbers so we stay compatible.
> > (and it would be very local).
>
> Looks a nicer solution indeed, but just with a variant:
>
> set(Boost_ADDITIONAL_VERSIONS ${Boost_ADDITIONAL_VERSIONS}
> "1.39.0" "1.39" "1.38.0" "1.38" "1.37.0" "1.37")
>
> so users can still set Boost_ADDITIONAL_VERSIONS it to add additional Boost
> versions, and having the same meaning as in FindBoost.cmake (ie more priority
> than the versions in it).
Yeah, perfect. So I'll do that over the weekend unless someone objects
(or someone beats me to it :)
Andreas
--
Your object is to save the world, while still leading a pleasant life.
More information about the Kde-buildsystem
mailing list