diff options
Diffstat (limited to 'Source/cmOrderDirectories.cxx')
-rw-r--r-- | Source/cmOrderDirectories.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmOrderDirectories.cxx b/Source/cmOrderDirectories.cxx index 2c28fc0..585db42 100644 --- a/Source/cmOrderDirectories.cxx +++ b/Source/cmOrderDirectories.cxx @@ -329,15 +329,13 @@ void cmOrderDirectories::AddLinkLibrary(std::string const& fullPath) void cmOrderDirectories::AddUserDirectories( std::vector<std::string> const& extra) { - this->UserDirectories.insert(this->UserDirectories.end(), extra.begin(), - extra.end()); + cmAppend(this->UserDirectories, extra); } void cmOrderDirectories::AddLanguageDirectories( std::vector<std::string> const& dirs) { - this->LanguageDirectories.insert(this->LanguageDirectories.end(), - dirs.begin(), dirs.end()); + cmAppend(this->LanguageDirectories, dirs); } void cmOrderDirectories::SetImplicitDirectories( |