summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-12-18 14:31:53 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-12-18 14:32:03 (GMT)
commit0607a50bb38590e5a47b7314c0bf0ad25187ae8f (patch)
treee69c3a85171d1b782e091411baca82a5ebc5cb23 /Source/cmake.cxx
parentc507661ca07df2199bf63cedececfbaf582e0fd0 (diff)
parentf7d12609f038a0e4e09f9a40fa081c4a4db3e56b (diff)
downloadCMake-0607a50bb38590e5a47b7314c0bf0ad25187ae8f.zip
CMake-0607a50bb38590e5a47b7314c0bf0ad25187ae8f.tar.gz
CMake-0607a50bb38590e5a47b7314c0bf0ad25187ae8f.tar.bz2
Merge topic 'add-header-cmext-algorithm'
f7d12609f0 Refactoring: use append functions from cmext/algorithm a38d04c076 Refactoring: introduce header cmext/algorithm with append functions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4131
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 684ab3b..fdb3687 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) {