[CMake] FIND_PACKAGE REQUIRED - concept chnage?

Brad King brad.king at kitware.com
Tue Jun 20 10:14:01 EDT 2006


Jan Woetzel wrote:
> Jan Woetzel wrote:
> 
>> The REQUIRED flag checking in
>> FIND_PACKAGE(Foo REQUIRED)
>> is not checking the result of FOO_FOUND anymore.
[snip]
> In 2.0.6 each find script just had to set _FOUND and the FIND_PACKAGE 
> command was handling teh rest automatically.

I cannot find any code that would have done this in CMake 2.0.  What 
makes you think this worked?

> (2) The documentation is only in Modules/readme.txt
> but missing in the  FIND:_PACKAGE commadn help.

The part about _FIND_REQUIRED and _FIND_QUIETLY is useful only to module 
authors so it is in the readme.  Someone using FIND_PACKAGE to find a 
package does not care.

-Brad


More information about the CMake mailing list