find_package: Document CMAKE_FIND_PACKAGE_NAME variable

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
This commit is contained in:
Gregor Jasny 2015-01-10 20:41:52 +01:00 committed by Brad King
parent c118816d44
commit b8abd25897
1 changed files with 2 additions and 0 deletions

View File

@ -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``