Re: [CMake] FIND_PACKAGE REQUIRED - concept chnage?

2006-06-20 Thread Jan Woetzel
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

Re: [CMake] FIND_PACKAGE REQUIRED - concept chnage?

2006-06-20 Thread Brad King
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

Re: Re: [CMake] FIND_PACKAGE REQUIRED - concept chnage?

2006-06-20 Thread Alexander Neundorf
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 > >

Re: [CMake] FIND_PACKAGE REQUIRED - concept chnage?

2006-06-20 Thread Brad King
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

[CMake] FIND_PACKAGE REQUIRED - concept chnage?

2006-06-19 Thread Jan Woetzel
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