mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
Advance more when preprocessing exported strings.
When evaluating TARGET_PROPERTY here, we can skip to the comma location. We need to calculate it though as the string may have just been changed.
This commit is contained in:
@@ -391,7 +391,7 @@ cmExportFileGenerator::ResolveTargetsInGeneratorExpression(
|
||||
{
|
||||
input.replace(nameStartPos, commaPos - nameStartPos, targetName);
|
||||
}
|
||||
lastPos = pos + targetName.size();
|
||||
lastPos = nameStartPos + targetName.size() + 1;
|
||||
}
|
||||
|
||||
std::string errorString;
|
||||
|
||||
Reference in New Issue
Block a user