summaryrefslogtreecommitdiffstats
path: root/Source/cmFindCommon.h
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2017-05-03 17:56:03 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2017-05-16 19:19:40 (GMT)
commitef3d360a3de4a290c92c34827a3b68a8ce160840 (patch)
treef999d696f387ba6b0d71ebf9b013ca0723bb2989 /Source/cmFindCommon.h
parent836cb52e9aec83f88841cb5b45abb1d32bb02214 (diff)
downloadCMake-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.h2
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;