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

Alexander Neundorf neundorf at kde.org
Tue Dec 6 13:37:28 EST 2011


On Tuesday 06 December 2011, Brad King wrote:
> 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)

Do you mean the version number should be enforced ?

Alex



More information about the cmake-developers mailing list