diff options
Diffstat (limited to 'Source/cmFileAPICache.cxx')
-rw-r--r-- | Source/cmFileAPICache.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFileAPICache.cxx b/Source/cmFileAPICache.cxx index 639df52..5d2ddf9 100644 --- a/Source/cmFileAPICache.cxx +++ b/Source/cmFileAPICache.cxx @@ -94,7 +94,8 @@ Json::Value Cache::DumpEntryProperty(std::string const& name, { Json::Value property = Json::objectValue; property["name"] = prop; - property["value"] = this->State->GetCacheEntryProperty(name, prop); + cmProp p = this->State->GetCacheEntryProperty(name, prop); + property["value"] = p ? *p : ""; return property; } } |