[cmake-developers] Fwd: How to handle different cmake versions in extra-cmake-modules ?

Brad King brad.king at kitware.com
Tue Dec 6 13:35:04 EST 2011


On 12/6/2011 1:13 PM, Alexander Neundorf wrote:
> Does that look like it should cover all use cases, for peopling wanting to
> selectively use some things from e-c-m, and fearing that something would break
> if they simply would make everything available ?

That proposal looks good to me.  As an additional suggestion, I think
you should always use an ECM version number so people get used to writing
it.  That way projects can ensure they get a compatible version of ECM:

   find_package(extra-cmake-modules 1.2 REQUIRED)

-Brad



More information about the cmake-developers mailing list