summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-08-31 15:00:52 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-01 14:23:37 (GMT)
commit068cc545d905a5b0fd8caa09494c04346d0ca936 (patch)
treedec7cfce9204cd05af3f2af2c838ab3cac810333 /Source/cmGeneratorTarget.cxx
parentfca4423786ba2c4a5ab0ec6c1a1cbac8cd8600b4 (diff)
downloadCMake-068cc545d905a5b0fd8caa09494c04346d0ca936.zip
CMake-068cc545d905a5b0fd8caa09494c04346d0ca936.tar.gz
CMake-068cc545d905a5b0fd8caa09494c04346d0ca936.tar.bz2
Genex: Fix TARGET_PROPERTY value of SOURCES
Refactoring in commit v3.8.0-rc1~445^2~2 (cmTarget: Move sanity checks and computed property access to callers, 2016-10-13) exposed a typo in commit v3.8.0-rc1~445^2~3 (cmGeneratorTarget: Implement cmTargetPropertyComputer interface, 2016-10-13). Together they broke the `$<TARGET_PROPERTY:mytgt,SOURCES>` generator expression in the case that the `SOURCES` target property is populated in part by the `target_sources` command. Add the missing `;`-separator. Fixes: #17243
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 329c7a9..c9924f6 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -158,7 +158,7 @@ const char* cmGeneratorTarget::GetSourcesProperty() const
}
static std::string value;
value.clear();
- value = cmJoin(values, "");
+ value = cmJoin(values, ";");
return value.c_str();
}