summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-11-15 13:27:34 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2022-02-06 13:32:24 (GMT)
commit4b55828a9f2afbc6c37e53f7cb0d4adec0fa73b5 (patch)
tree363750a44a9e759d40ec6fd04793fee33f20ec18 /Source/cmLocalGenerator.cxx
parent28d7432468932ea3a7425579e909d51fe36a70c7 (diff)
downloadCMake-4b55828a9f2afbc6c37e53f7cb0d4adec0fa73b5.zip
CMake-4b55828a9f2afbc6c37e53f7cb0d4adec0fa73b5.tar.gz
CMake-4b55828a9f2afbc6c37e53f7cb0d4adec0fa73b5.tar.bz2
cmExpandListWithBacktrace: add handling of empty elements.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 2adb232..3976c42 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -3199,7 +3199,7 @@ void cmLocalGenerator::AppendDefines(std::set<std::string>& defines,
std::string const& defines_list) const
{
std::set<BT<std::string>> tmp;
- this->AppendDefines(tmp, ExpandListWithBacktrace(defines_list));
+ this->AppendDefines(tmp, cmExpandListWithBacktrace(defines_list));
for (BT<std::string> const& i : tmp) {
defines.emplace(i.Value);
}
@@ -3214,7 +3214,7 @@ void cmLocalGenerator::AppendDefines(std::set<BT<std::string>>& defines,
}
// Expand the list of definitions.
- this->AppendDefines(defines, ExpandListWithBacktrace(defines_list));
+ this->AppendDefines(defines, cmExpandListWithBacktrace(defines_list));
}
void cmLocalGenerator::AppendDefines(