[CMake] FIND_PACKAGE REQUIRED - concept chnage?

Jan Woetzel jw at mip.informatik.uni-kiel.de
Tue Jun 20 12:51:29 EDT 2006


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

OK, It took me >70 find scripts to figure this out...

Thanks for clarification,
Jan.

-- 

  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  University of Kiel
  Institute of Computer Science and Applied Mathematics
  Hermann-Rodewald-Str. 3 [room 310]
  24098 Kiel/Germany
--------------------------------------------------
  Phone +49-431-880-4477
  Fax   +49-431-880-4054
  Mob.  +49-179-2937346
--------------------------------------------------
  Url   www.mip.informatik.uni-kiel.de/~jw
  Email jw at mip.informatik.uni-kiel.de



More information about the CMake mailing list