diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-04-18 09:27:40 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-04-18 09:27:52 (GMT) |
commit | 40d17356811dcf9e525e6adf7bd723ee8c678ebe (patch) | |
tree | 6e8d31e5026c68694b01f7955235fb6cc82b5c39 /Source/cmExportCommand.cxx | |
parent | fbf8db89e4e9441462a19b4684ddd51aa8cbe7b5 (diff) | |
parent | aacd4e4a90a3afb23d681063d2ecba719f1adab8 (diff) | |
download | CMake-40d17356811dcf9e525e6adf7bd723ee8c678ebe.zip CMake-40d17356811dcf9e525e6adf7bd723ee8c678ebe.tar.gz CMake-40d17356811dcf9e525e6adf7bd723ee8c678ebe.tar.bz2 |
Merge topic 'add-contains-to-cmext-algorithm'
aacd4e4a90 Refactoring: add cm::contains to <cmext/algorithm>
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4606
Diffstat (limited to 'Source/cmExportCommand.cxx')
-rw-r--r-- | Source/cmExportCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx index f31759d..ad632ee 100644 --- a/Source/cmExportCommand.cxx +++ b/Source/cmExportCommand.cxx @@ -7,12 +7,12 @@ #include <utility> #include <cm/memory> +#include <cmext/algorithm> #include "cmsys/RegularExpression.hxx" #include "cm_static_string_view.hxx" -#include "cmAlgorithms.h" #include "cmArgumentParser.h" #include "cmExecutionStatus.h" #include "cmExportBuildAndroidMKGenerator.h" @@ -147,7 +147,7 @@ bool cmExportCommand(std::vector<std::string> const& args, } exportSet = &it->second; } else if (!arguments.Targets.empty() || - cmContains(keywordsMissingValue, "TARGETS")) { + cm::contains(keywordsMissingValue, "TARGETS")) { for (std::string const& currentTarget : arguments.Targets) { if (mf.IsAlias(currentTarget)) { std::ostringstream e; |