summaryrefslogtreecommitdiffstats
path: root/Source/cmState.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-09-02 15:52:37 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-09-10 13:45:51 (GMT)
commit3c2e58eeb884adea8ee12462f7d471ab518a673f (patch)
treef8adf34b01f5364785d855a296f4f64686ef6cfb /Source/cmState.cxx
parentc8991f17cf5bb07fc1b0d7fa68e9613fa8617900 (diff)
downloadCMake-3c2e58eeb884adea8ee12462f7d471ab518a673f.zip
CMake-3c2e58eeb884adea8ee12462f7d471ab518a673f.tar.gz
CMake-3c2e58eeb884adea8ee12462f7d471ab518a673f.tar.bz2
AddCacheEntry accept cmProp or std::string
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r--Source/cmState.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx
index a045545..5a1ff27 100644
--- a/Source/cmState.cxx
+++ b/Source/cmState.cxx
@@ -206,7 +206,7 @@ bool cmState::GetCacheEntryPropertyAsBool(std::string const& key,
return this->CacheManager->GetCacheEntryPropertyAsBool(key, propertyName);
}
-void cmState::AddCacheEntry(const std::string& key, const char* value,
+void cmState::AddCacheEntry(const std::string& key, cmProp value,
const char* helpString,
cmStateEnums::CacheEntryType type)
{