Remove FindBoost.cmake from kdelibs

Pino Toscano toscano.pino at tiscali.it
Wed May 6 23:10:26 CEST 2009


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).

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20090506/0289f67c/attachment.sig 


More information about the Kde-buildsystem mailing list