summaryrefslogtreecommitdiffstats
path: root/Modules/readme.txt
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-10-04 19:54:40 (GMT)
committerAlex Neundorf <neundorf@kde.org>2012-10-04 19:54:40 (GMT)
commite2b1630830201b3021dff19a3c98c4601693f269 (patch)
tree1ecc10daeab8e345e8079a2bcec214625fbcb554 /Modules/readme.txt
parent35f2af164f97bbbed93160b098652b4ee4d8b964 (diff)
downloadCMake-e2b1630830201b3021dff19a3c98c4601693f269.zip
CMake-e2b1630830201b3021dff19a3c98c4601693f269.tar.gz
CMake-e2b1630830201b3021dff19a3c98c4601693f269.tar.bz2
Document CMAKE_FIND_PACKAGE_NAME
Alex
Diffstat (limited to 'Modules/readme.txt')
-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