summaryrefslogtreecommitdiffstats
path: root/Source/cmState.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-09-10 13:47:23 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-09-10 13:47:39 (GMT)
commit9488f8a7b7c4b4f180d16cde8a819a7a5216ef56 (patch)
tree1c90c2fec972d3d1589e580a55b8a04bff9e74a6 /Source/cmState.cxx
parent293070c325ec4cb91668dbe75dd259b7dfb0aa7d (diff)
parentf84193292cb36e26d13a3f1f56a1539f088e8827 (diff)
downloadCMake-9488f8a7b7c4b4f180d16cde8a819a7a5216ef56.zip
CMake-9488f8a7b7c4b4f180d16cde8a819a7a5216ef56.tar.gz
CMake-9488f8a7b7c4b4f180d16cde8a819a7a5216ef56.tar.bz2
Merge topic 'enh-AddCacheEntry-accepts-new-types'
f84193292c Use new AddCacheEntry signatures 3c2e58eeb8 AddCacheEntry accept cmProp or std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6495
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 cfd9ad0..16718e8 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)
{