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:
Stephen Kelly 2013-01-30 23:31:54 +01:00
parent 30268b46f8
commit 7ceeba992b
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ cmExportFileGenerator::ResolveTargetsInGeneratorExpression(
{
input.replace(nameStartPos, commaPos - nameStartPos, targetName);
}
lastPos = pos + targetName.size();
lastPos = nameStartPos + targetName.size() + 1;
}
std::string errorString;