summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2015-01-10 19:41:52 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-11 20:16:48 (GMT)
commitb8abd25897c49aaf7461937283043f33c837031d (patch)
treec61686e7480699be6225622354cbc18595f4b535 /Help
parentc118816d44e178e4364a0c32aaece81a14511237 (diff)
downloadCMake-b8abd25897c49aaf7461937283043f33c837031d.zip
CMake-b8abd25897c49aaf7461937283043f33c837031d.tar.gz
CMake-b8abd25897c49aaf7461937283043f33c837031d.tar.bz2
find_package: Document CMAKE_FIND_PACKAGE_NAME variable
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Diffstat (limited to 'Help')
-rw-r--r--Help/command/find_package.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst
index 190d05c..7f518a6 100644
--- a/Help/command/find_package.rst
+++ b/Help/command/find_package.rst
@@ -312,6 +312,8 @@ When loading a find module or package configuration file ``find_package``
defines variables to provide information about the call arguments (and
restores their original state before returning):
+``CMAKE_FIND_PACKAGE_NAME``
+ the ``<package>`` name which is searched for
``<package>_FIND_REQUIRED``
true if ``REQUIRED`` option was given
``<package>_FIND_QUIETLY``