summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-10-09 12:39:25 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-10-09 12:39:25 (GMT)
commitfb4de4495dbdde59b5fb210f0cbb835ebf5d7a6a (patch)
treefbfaa0d4bbe33f012c2bd8ff86d10e0a18386547 /Modules
parent76f3fe73baffd6b5b13e01d25e90789e84a38de8 (diff)
parente2b1630830201b3021dff19a3c98c4601693f269 (diff)
downloadCMake-fb4de4495dbdde59b5fb210f0cbb835ebf5d7a6a.zip
CMake-fb4de4495dbdde59b5fb210f0cbb835ebf5d7a6a.tar.gz
CMake-fb4de4495dbdde59b5fb210f0cbb835ebf5d7a6a.tar.bz2
Merge topic 'DocumentCMakeFindPackageName'
e2b1630 Document CMAKE_FIND_PACKAGE_NAME
Diffstat (limited to 'Modules')
-rw-r--r--Modules/readme.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/readme.txt b/Modules/readme.txt
index 4818031..9dc1c6a 100644
--- a/Modules/readme.txt
+++ b/Modules/readme.txt
@@ -127,6 +127,9 @@ If neither the QUIET nor REQUIRED options are given then the
FindXXX.cmake module should look for the package and complain without
error if the module is not found.
+FIND_PACKAGE() will set the variable CMAKE_FIND_PACKAGE_NAME to
+contain the actual name of the package.
+
A package can provide sub-components.
Those components can be listed after the COMPONENTS (or REQUIRED)
or OPTIONAL_COMPONENTS keywords. The set of all listed components will be