On 21.01.08 08:53:58, Brad King wrote: > Andreas Pakulat wrote: > > On 20.01.08 17:11:17, Rodolfo Lima wrote: > >> Andreas Pakulat escreveu: > >> > >>> Naah, _boost_XXX is internal and not exposed. I rather have a > >>> Boost_MINIMUM_VERSION. That would also allow to use REQUIRED and a more > >>> verbose message saying wether the version is wrong or a needed lib is > >>> not found. > >> Speaking of which, find_package could have a way to specify required > >> versions, isn't? Like pkg-config does... That's a common use case. > >> Something along the lines of: > >> find_package(Boost MINIMUM_VERSION 1.34.1) > > > > There is actually already a way to specify major.minor with find_package > > (see man cmake). Unfortunately this is not yet handled by cmake, even > > more sad that there are two wishlist reports for this since 2005. > > Entries #4243 and #1645 > > I've just implemented the request in 1645 in CMake HEAD. If you call
Cool :) I hope it was as easy to implement as it sounded like. Andreas -- You're working under a slight handicap. You happen to be human. _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
