mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Refactoring: use append functions from cmext/algorithm
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
#include <set>
|
||||
#include <utility>
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include "cmExecutionStatus.h"
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmMakefile.h"
|
||||
@@ -58,9 +59,9 @@ bool cmIncludeDirectoryCommand(std::vector<std::string> const& args,
|
||||
GetIncludes(mf, *i, includes);
|
||||
|
||||
if (before) {
|
||||
cmAppend(beforeIncludes, includes);
|
||||
cm::append(beforeIncludes, includes);
|
||||
} else {
|
||||
cmAppend(afterIncludes, includes);
|
||||
cm::append(afterIncludes, includes);
|
||||
}
|
||||
if (system) {
|
||||
systemIncludes.insert(includes.begin(), includes.end());
|
||||
|
||||
Reference in New Issue
Block a user