diff options
Diffstat (limited to 'Source/cmExportBuildFileGenerator.h')
-rw-r--r-- | Source/cmExportBuildFileGenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmExportBuildFileGenerator.h b/Source/cmExportBuildFileGenerator.h index ada2709..0a1e755 100644 --- a/Source/cmExportBuildFileGenerator.h +++ b/Source/cmExportBuildFileGenerator.h @@ -5,6 +5,7 @@ #include "cmConfigure.h" // IWYU pragma: keep +#include "cmAlgorithms.h" #include "cmExportFileGenerator.h" #include "cmStateTypes.h" @@ -39,7 +40,7 @@ public: void GetTargets(std::vector<std::string>& targets) const; void AppendTargets(std::vector<std::string> const& targets) { - this->Targets.insert(this->Targets.end(), targets.begin(), targets.end()); + cmAppend(this->Targets, targets); } void SetExportSet(cmExportSet*); |