[cmake-developers] find_package module-only policy (was: find_package error wording)

Alexander Neundorf neundorf at kde.org
Mon Feb 20 13:06:48 EST 2012


On Monday 20 February 2012, Brad King wrote:
...
> (2) Add the explicit MODULE and CONFIG mode keywords.  Warn if they
> are used and the current minimum CMake version is not >= 2.8.8 so that
> people do not add them in places that will break old versions.

Should it only warn if no mode keyword is used, or should it also warn if 
NO_MODULE is used ?

The behaviour without keyword would stay unchanged, i.e. first Find-modules, 
the config files ?

MODULE mode would be only Find-modules, no config files ?

Alex



More information about the cmake-developers mailing list