[CMake] Does FIND_PACKAGE ignore REQUIRED and QUIET in Config mode ?

Brad King brad.king at kitware.com
Sat Sep 6 11:43:48 EDT 2008


Alexander Neundorf wrote:
> On Friday 05 September 2008, Brad King wrote:
> ...
>>> Brad, any objections to set these two variables always, also in Config
>>> mode ? If not I can do that if you're not faster.
>> It doesn't hurt to have them available.  Please send me a proposed patch.
> 
> See attached.
> It also moves setting the version and the components variables into the new 
> function SetModuleVariables()

The patch looks good.  Good idea to include the versions.  Providing the 
requested version to the config module being loaded could help packages 
be compatible with earlier versions.  Please commit.

Thanks,
-Brad


More information about the CMake mailing list