summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmFindPackageCommand.h')
-rw-r--r--Source/cmFindPackageCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h
index cf7b93c..1bfb2af 100644
--- a/Source/cmFindPackageCommand.h
+++ b/Source/cmFindPackageCommand.h
@@ -75,6 +75,8 @@ private:
void AppendToProperty(const char* propertyName);
void SetModuleVariables(const std::string& components);
bool FindModule(bool& found);
+ void AddFindDefinition(const char* var, const char* val);
+ void RestoreFindDefinitions();
bool HandlePackageMode();
void FindConfig();
bool FindPrefixedConfig();
@@ -104,6 +106,9 @@ private:
friend class cmFindPackageFileList;
+ struct OriginalDef { bool exists; std::string value; };
+ std::map<cmStdString, OriginalDef> OriginalDefs;
+
std::string CommandDocumentation;
cmStdString Name;
cmStdString Variable;