From e2b1630830201b3021dff19a3c98c4601693f269 Mon Sep 17 00:00:00 2001 From: Alex Neundorf Date: Thu, 4 Oct 2012 21:54:40 +0200 Subject: [PATCH] Document CMAKE_FIND_PACKAGE_NAME Alex --- Modules/readme.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/readme.txt b/Modules/readme.txt index 4818031d7..9dc1c6ab3 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