[CMake] FIND_PACKAGE list of components (...REQUIRED components)
Jan Woetzel
jw at woetzelweb.de
Fri Jul 7 19:25:43 EDT 2006
Hi CMates,
(1)
can I retrieve a list with all components listed after REQUIRED, e.g.
FIND_PACKAGE(Foo REQUIRED component1 component2 ... )
-->
component1; component2 ?
I want to use it in FindFoo.cmake with
Foo_FIND_REQUIRED_component1
to handle arbitrary components (unknown to teh Find scripts and handled
through macros).
(2) QUIET actually overrides REQUIRED and suppresses the components
_FIND_REQUIRED setting.
I think this is not correct.
QUIET should just suppress the verbosity of the Find script complains
about missing libraries, right?
No matter if finding QUIETLY or not - the REQUIRED settings are
mandatory to set correct _FOUND flags - thus a bug, right?
See
cmFindPackageCommand.cxx:75 ff
Jan
--
Dipl.-Ing. Jan Woetzel
--------------------------------------------------
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Hermann-Rodewaldstr. 3 [Raum 310]
24098 Kiel/Germany
--------------------------------------------------
Tel +49-431-880-4477
Fax +49-431-880-4054
Privat +49-431-802872
Mob. +49-179-2937346
--------------------------------------------------
Url www.mip.informatik.uni-kiel.de/~jw
Email jw at mip.informatik.uni-kiel.de
Privat jw at WoetzelWeb.de
More information about the CMake
mailing list