mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Use cmAppend to append ranges to std::vector instances
This commit is contained in:
@@ -862,7 +862,7 @@ void cmLocalUnixMakefileGenerator3::AppendRuleDepends(
|
||||
// Add a dependency on the rule file itself unless an option to skip
|
||||
// it is specifically enabled by the user or project.
|
||||
if (!this->Makefile->IsOn("CMAKE_SKIP_RULE_DEPENDENCY")) {
|
||||
depends.insert(depends.end(), ruleFiles.begin(), ruleFiles.end());
|
||||
cmAppend(depends, ruleFiles);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1037,7 +1037,7 @@ void cmLocalUnixMakefileGenerator3::AppendCustomCommand(
|
||||
this->CreateCDCommand(commands1, dir, relative);
|
||||
|
||||
// push back the custom commands
|
||||
commands.insert(commands.end(), commands1.begin(), commands1.end());
|
||||
cmAppend(commands, commands1);
|
||||
}
|
||||
|
||||
void cmLocalUnixMakefileGenerator3::AppendCleanCommand(
|
||||
|
||||
Reference in New Issue
Block a user