[cmake-developers] [PATCH] Document find_package CMAKE_FIND_PACKAGE_NAME variable
Gregor Jasny
gjasny at googlemail.com
Sat Jan 10 14:41:52 EST 2015
Signed-off-by: Gregor Jasny <gjasny at googlemail.com>
---
Help/command/find_package.rst | 2 ++
1 file changed, 2 insertions(+)
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``
--
1.9.3 (Apple Git-50)
More information about the cmake-developers
mailing list