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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem