1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

Refactoring: use append functions from cmext/algorithm

This commit is contained in:
Marc Chevrier
2019-12-09 17:39:29 +01:00
parent a38d04c076
commit f7d12609f0
60 changed files with 235 additions and 208 deletions

View File

@@ -2,7 +2,8 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmAddLibraryCommand.h"
#include "cmAlgorithms.h"
#include <cmext/algorithm>
#include "cmExecutionStatus.h"
#include "cmGeneratorExpression.h"
#include "cmGlobalGenerator.h"
@@ -309,7 +310,7 @@ bool cmAddLibraryCommand(std::vector<std::string> const& args,
return true;
}
cmAppend(srclists, s, args.end());
cm::append(srclists, s, args.end());
mf.AddLibrary(libName, type, srclists, excludeFromAll);