summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-11-04 18:14:57 (GMT)
committerBrad King <brad.king@kitware.com>2009-11-04 18:14:57 (GMT)
commit3a790251f4e110a274e3fd5edabb2766882d8eb4 (patch)
tree2473849e66aee73891182134bef349d2fc9b884e /Source/cmFindPackageCommand.cxx
parentc9a9c88634c98174d9fae712a31327cbd8d0963d (diff)
downloadCMake-3a790251f4e110a274e3fd5edabb2766882d8eb4.zip
CMake-3a790251f4e110a274e3fd5edabb2766882d8eb4.tar.gz
CMake-3a790251f4e110a274e3fd5edabb2766882d8eb4.tar.bz2
Document and test find_package <pkg>_DIR env var
The find_package(<pkg>) command checks the <pkg>_DIR environment variable. This commit documents and tests the feature.
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r--Source/cmFindPackageCommand.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index 7dbbf6d..bd58f56 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -268,6 +268,7 @@ cmFindPackageCommand::cmFindPackageCommand()
"2. Search paths specified in cmake-specific environment variables. "
"These are intended to be set in the user's shell configuration. "
"This can be skipped if NO_CMAKE_ENVIRONMENT_PATH is passed.\n"
+ " <package>_DIR\n"
" CMAKE_PREFIX_PATH\n"
" CMAKE_FRAMEWORK_PATH\n"
" CMAKE_APPBUNDLE_PATH\n"