summaryrefslogtreecommitdiffstats
path: root/Source/cmSetPropertyCommand.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-03-17 16:00:00 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2020-03-17 16:09:20 (GMT)
commitbd891335432a5797a0415ebf35a6f22adba96684 (patch)
tree9d142b17e1750641d311d9f7fe2f11a4b7a52913 /Source/cmSetPropertyCommand.cxx
parentbee0100396d4b0dad7204125606e6baf26b79e38 (diff)
downloadCMake-bd891335432a5797a0415ebf35a6f22adba96684.zip
CMake-bd891335432a5797a0415ebf35a6f22adba96684.tar.gz
CMake-bd891335432a5797a0415ebf35a6f22adba96684.tar.bz2
cmState::GetCacheEntryValue: return cmProp
Diffstat (limited to 'Source/cmSetPropertyCommand.cxx')
-rw-r--r--Source/cmSetPropertyCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSetPropertyCommand.cxx b/Source/cmSetPropertyCommand.cxx
index ce534e1..e7330ef 100644
--- a/Source/cmSetPropertyCommand.cxx
+++ b/Source/cmSetPropertyCommand.cxx
@@ -438,7 +438,7 @@ bool HandleCacheMode(cmExecutionStatus& status,
for (std::string const& name : names) {
// Get the source file.
cmake* cm = status.GetMakefile().GetCMakeInstance();
- const char* existingValue = cm->GetState()->GetCacheEntryValue(name);
+ cmProp existingValue = cm->GetState()->GetCacheEntryValue(name);
if (existingValue) {
if (!HandleCacheEntry(name, status.GetMakefile(), propertyName,
propertyValue, appendAsString, appendMode,