diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-27 18:43:10 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-28 00:15:51 (GMT) |
commit | d4144b9c0a1a8a8f3a24ff33fc2582bb319d73ac (patch) | |
tree | 1fa5c411f938f8a5b9195f3b0b02ab60cc21dd11 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 809248a0c9f3c2c203399d4cefe10a23cfc53add (diff) | |
download | CMake-d4144b9c0a1a8a8f3a24ff33fc2582bb319d73ac.zip CMake-d4144b9c0a1a8a8f3a24ff33fc2582bb319d73ac.tar.gz CMake-d4144b9c0a1a8a8f3a24ff33fc2582bb319d73ac.tar.bz2 |
strings: use `emplace_back` with `cmStrCat` arguments
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 6e12402..5ba9332 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -4356,7 +4356,7 @@ bool cmVisualStudio10TargetGenerator::ComputeLinkOptions( // first just full path linkDirs.push_back(d); // next path with configuration type Debug, Release, etc - linkDirs.push_back(cmStrCat(d, "/$(Configuration)")); + linkDirs.emplace_back(cmStrCat(d, "/$(Configuration)")); } linkDirs.push_back("%(AdditionalLibraryDirectories)"); linkOptions.AddFlag("AdditionalLibraryDirectories", linkDirs); |