mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
cmTargetPropCommandBase: simplify code path
The outside of the loop does the same return expression.
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user