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 find_package(Grantlee COMPONENTS Foo Bar) my config file would do something like: if (${PACKAGE_FIND_COMPONENTS} CONTAINS "Foo") # Find the dependencies of Foo endif() if (${PACKAGE_FIND_COMPONENTS} CONTAINS "Bar") # Find the dependencies of Bar endif() Thanks, Steve. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake