summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-08-09 16:52:35 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-08-09 16:52:35 (GMT)
commit3941b74de4043a1a8a173a61c4f5efe0a8a55d33 (patch)
tree71fe8bc9953bbccd0bdd0375c4020bfe6b7e4aca /Source/cmGlobalGenerator.h
parent7e3250da2fa0155a8c83b3aadef0407a701f2953 (diff)
downloadCMake-3941b74de4043a1a8a173a61c4f5efe0a8a55d33.zip
CMake-3941b74de4043a1a8a173a61c4f5efe0a8a55d33.tar.gz
CMake-3941b74de4043a1a8a173a61c4f5efe0a8a55d33.tar.bz2
Refactor: cmGlobalGenerator::GetGlobalSetting returns cmProp
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index f0b59bf..34646d9 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -23,6 +23,7 @@
#include "cmCustomCommandLines.h"
#include "cmDuration.h"
#include "cmExportSet.h"
+#include "cmProperty.h"
#include "cmStateSnapshot.h"
#include "cmStringAlgorithms.h"
#include "cmSystemTools.h"
@@ -308,7 +309,7 @@ public:
cmExportSetMap& GetExportSets() { return this->ExportSets; }
- const char* GetGlobalSetting(std::string const& name) const;
+ cmProp GetGlobalSetting(std::string const& name) const;
bool GlobalSettingIsOn(std::string const& name) const;
std::string GetSafeGlobalSetting(std::string const& name) const;