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

Brad King brad.king at kitware.com
Tue Dec 6 13:40:08 EST 2011


On 12/6/2011 1:37 PM, Alexander Neundorf wrote:
> On Tuesday 06 December 2011, Brad King wrote:
>> 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 ?

Not necessarily, but it is good practice especially in this case.

-Brad



More information about the cmake-developers mailing list