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)

I don't know if there's relevant need of specifying both minimum and
maximum version tough...

Regards,
rod

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to