[CMake] FIND_PACKAGE REQUIRED - concept chnage?

Alexander Neundorf a.neundorf-work at gmx.net
Tue Jun 20 11:30:27 EDT 2006


Hi,

Von: Brad King <brad.king at kitware.com>

> 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.

While on this topic, the man page mentions major.minor for the FIND_PACKAGE() command. How is this supposed to work ?
AFAIK it's not supported by any of the modules coming with cmake.

Bye
Alex

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


More information about the CMake mailing list