[CMake] How to handle COMPONENT arguments to find_package in my Config file?

Alexander Neundorf a.neundorf-work at gmx.net
Wed Jun 22 12:17:10 EDT 2011


On Wednesday 22 June 2011, Stephen Kelly wrote:
> Hi,
> 
> In my GrantleeConfigVersion.cmake.in I can use ${PACKAGE_FIND_VERSION}
> which I presume is filled from the find_package command (I just copied the
> file from elsewhere).
> 
> Is there an equivalent for COMPONENTS so that if someone does a

Beside the find_package() documentation in the cmake man page, those stuff is 
documented in the readme.txt in the CMake module directory.

Alex


More information about the CMake mailing list