summaryrefslogtreecommitdiffstats
path: root/Source/cmJsonObjects.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-06-02 10:43:16 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-06-08 10:25:35 (GMT)
commit026f65d284deaea9f2dba41ed956fabf84e17b6d (patch)
tree679ed5f85c33cebc55184384cb476d795bbee5a3 /Source/cmJsonObjects.cxx
parent9e64e617eb295c7e2725d871225659ae7bcf7c48 (diff)
downloadCMake-026f65d284deaea9f2dba41ed956fabf84e17b6d.zip
CMake-026f65d284deaea9f2dba41ed956fabf84e17b6d.tar.gz
CMake-026f65d284deaea9f2dba41ed956fabf84e17b6d.tar.bz2
cmPropertyMap: Add GetList method
Diffstat (limited to 'Source/cmJsonObjects.cxx')
-rw-r--r--Source/cmJsonObjects.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmJsonObjects.cxx b/Source/cmJsonObjects.cxx
index 636a8e1..657d681 100644
--- a/Source/cmJsonObjects.cxx
+++ b/Source/cmJsonObjects.cxx
@@ -363,12 +363,12 @@ static Json::Value DumpCTestInfo(cmLocalGenerator* lg, cmTest* testInfo,
// Build up the list of properties that may have been specified
Json::Value properties = Json::arrayValue;
- for (auto& prop : testInfo->GetProperties()) {
+ for (auto& prop : testInfo->GetProperties().GetList()) {
Json::Value entry = Json::objectValue;
entry[kKEY_KEY] = prop.first;
// Remove config variables from the value too.
- auto cge_value = ge.Parse(prop.second.GetValue());
+ auto cge_value = ge.Parse(prop.second);
const std::string& processed_value = cge_value->Evaluate(lg, config);
entry[kVALUE_KEY] = processed_value;
properties.append(entry);