cmTargetPropCommandBase: simplify code path

The outside of the loop does the same return expression.
This commit is contained in:
Ben Boeckel
2018-10-26 09:16:24 -04:00
parent 9f64974f5e
commit 45a49ae58a

View File

@@ -101,7 +101,7 @@ bool cmTargetPropCommandBase::ProcessContentArgs(
for (unsigned int i = argIndex; i < args.size(); ++i, ++argIndex) {
if (args[i] == "PUBLIC" || args[i] == "PRIVATE" ||
args[i] == "INTERFACE") {
return this->PopulateTargetProperies(scope, content, prepend, system);
break;
}
content.push_back(args[i]);
}