diff options
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
| -rw-r--r-- | Source/cmExportFileGenerator.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx index f2742df..64448f1 100644 --- a/Source/cmExportFileGenerator.cxx +++ b/Source/cmExportFileGenerator.cxx @@ -1360,11 +1360,7 @@ bool cmExportFileGenerator::PopulateCxxModuleExportProperties( auto value = cmGeneratorExpression::Preprocess(*prop, ctx); this->ResolveTargetsInGeneratorExpressions( value, gte, cmExportFileGenerator::ReplaceFreeTargets); - std::vector<std::string> wrappedValues; - for (auto& item : cmList{ value }) { - wrappedValues.push_back(cmStrCat("$<COMPILE_ONLY:", item, '>')); - } - properties[exportedPropName] = cmJoin(wrappedValues, ";"); + properties[exportedPropName] = value; } } |
