summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageTest/FindLotsOfComponents.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CMP0017: Fix check when including from CMake source treeBrad King2014-03-041-1/+1
| | | | | | | | | | When running CMake from the build tree the CMAKE_ROOT is the entire source tree. Fix the CMP0017 check to be specific to the Modules/ directory under CMAKE_ROOT so that Tests/ does not count. Fix the FindPackageTest modules to include FPHSA by full path from CMAKE_ROOT so that they do not include the local FPHSA which reports an error meant to test that CMP0017 works.
* FPHSA(): add HANDLE_COMPONENTS optionAlex Neundorf2012-03-191-0/+10
if the HANDLE_COMPONENTS is used, FPHSA() now also checks all required COMPONENTS, i.e. all elements from <name>_FIND_COMPONENTS for which <name>_FIND_REQUIRED_<comp> is true, and sets <name>_FOUND only to true if all have been found. As discussed on cmake-developers. Alex