Re: [CMake] Component support in FindPackageHandleStandardArgs

2011-01-19 Thread Johannes Zarl
On 01/18/2011 at 20:54, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Monday 13 December 2010, Johannes Zarl wrote: The three FPHSA calls from above could be written using this syntax as: FPHSA(XXX REQUIRED_VARS XXX_LIBRARY XXX_INCLUDE_DIR COMPONENTS COMPONENT YYY

Re: [CMake] Component support in FindPackageHandleStandardArgs

2011-01-18 Thread Alexander Neundorf
On Monday 13 December 2010, Johannes Zarl wrote: Hello list, During a recent discussion about find_package modules and components, the question came up how to best use FindPackageHandleStandardArgs (FPHSA) with components. One solution that currently works is to call FPHSA several times

[CMake] Component support in FindPackageHandleStandardArgs

2010-12-13 Thread Johannes Zarl
Hello list, During a recent discussion about find_package modules and components, the question came up how to best use FindPackageHandleStandardArgs (FPHSA) with components. One solution that currently works is to call FPHSA several times with the qualified component name as package name: #