Brad King wrote:
FIND_PACKAGE(Foo REQUIRED)
I cannot find any code that would have done this in CMake 2.0. What
makes you think this worked?
I just tested it again.
You are right, 2.06 just complains when FindFoo.cnake was not found.
2.0 and .4 ignore the _FOUND thing.
The part about _FI
Alexander Neundorf wrote:
Hi,
Von: Brad King <[EMAIL PROTECTED]>
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
com
Hi,
Von: Brad King <[EMAIL PROTECTED]>
> 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
> >
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 th
Jan Woetzel wrote:
The REQUIRED flag checking in
FIND_PACKAGE(Foo REQUIRED)
is not checking the result of FOO_FOUND anymore.
(1) Each Find script has to handle _REQUIRED and _QUIT handling itself
with 2.4.x, right?
E.g.:
IF(NOT Foo_FIND_QUIETLY)
IF(Foo_FIND_REQUIRED)
MESSAGE(FATAL