diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2017-05-03 17:56:03 (GMT) |
---|---|---|
committer | Chuck Atkins <chuck.atkins@kitware.com> | 2017-05-16 19:19:40 (GMT) |
commit | ef3d360a3de4a290c92c34827a3b68a8ce160840 (patch) | |
tree | f999d696f387ba6b0d71ebf9b013ca0723bb2989 /Source/cmFindCommon.h | |
parent | 836cb52e9aec83f88841cb5b45abb1d32bb02214 (diff) | |
download | CMake-ef3d360a3de4a290c92c34827a3b68a8ce160840.zip CMake-ef3d360a3de4a290c92c34827a3b68a8ce160840.tar.gz CMake-ef3d360a3de4a290c92c34827a3b68a8ce160840.tar.bz2 |
find_*: Add a new PackageRoot search path group
The new PackageRoot search path group allows the PackageName_ROOT cmake
and environment variables to be used as search prefixes for all find_*
commands called from within a find module
Diffstat (limited to 'Source/cmFindCommon.h')
-rw-r--r-- | Source/cmFindCommon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFindCommon.h b/Source/cmFindCommon.h index bbb7a38..2eed47b 100644 --- a/Source/cmFindCommon.h +++ b/Source/cmFindCommon.h @@ -55,6 +55,7 @@ protected: : cmPathLabel(label) { } + static PathLabel PackageRoot; static PathLabel CMake; static PathLabel CMakeEnvironment; static PathLabel Hints; @@ -105,6 +106,7 @@ protected: void AddPathSuffix(std::string const& arg); bool NoDefaultPath; + bool NoPackageRootPath; bool NoCMakePath; bool NoCMakeEnvironmentPath; bool NoSystemEnvironmentPath; |