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/cmMakefile.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/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 52a6498..6dc30ce 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -6,6 +6,7 @@ #include "cmConfigure.h" #include "cmsys/RegularExpression.hxx" +#include <deque> #include <map> #include <set> #include <stack> @@ -786,6 +787,10 @@ public: void RemoveExportBuildFileGeneratorCMP0024(cmExportBuildFileGenerator* gen); void AddExportBuildFileGenerator(cmExportBuildFileGenerator* gen); + // Maintain a stack of pacakge names to determine the depth of find modules + // we are currently being called with + std::deque<std::string> FindPackageModuleStack; + protected: // add link libraries and directories to the target void AddGlobalLinkInformation(cmTarget& target); |