diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2019-12-09 16:39:29 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2019-12-17 09:44:02 (GMT) |
commit | f7d12609f038a0e4e09f9a40fa081c4a4db3e56b (patch) | |
tree | c20d476dfb30aa3772797b2d66d27bbedd1ce662 /Source/cmake.cxx | |
parent | a38d04c0764b3550bd7d17b659945a38c1368f1e (diff) | |
download | CMake-f7d12609f038a0e4e09f9a40fa081c4a4db3e56b.zip CMake-f7d12609f038a0e4e09f9a40fa081c4a4db3e56b.tar.gz CMake-f7d12609f038a0e4e09f9a40fa081c4a4db3e56b.tar.bz2 |
Refactoring: use append functions from cmext/algorithm
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 6bfb37e..a657bac 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -8,6 +8,8 @@ # include <cm/iterator> #endif +#include <cmext/algorithm> + #include "cm_sys_stat.h" #include "cmAlgorithms.h" @@ -1049,7 +1051,7 @@ void cmake::GetRegisteredGenerators(std::vector<GeneratorInfo>& generators, std::vector<std::string> names = gen->GetGeneratorNames(); if (includeNamesWithPlatform) { - cmAppend(names, gen->GetGeneratorNamesWithPlatform()); + cm::append(names, gen->GetGeneratorNamesWithPlatform()); } for (std::string const& name : names) { |