summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-26 14:43:47 (GMT)
committerBrad King <brad.king@kitware.com>2021-05-28 18:27:38 (GMT)
commit96809a8541513c7adb52a65766154d417281227e (patch)
tree650c2396c01eb711d3bd8ce850a8be80400eb786 /Source/cmGeneratorTarget.cxx
parentddffbb8adbfb12ecc2ab920434006a40bfeae326 (diff)
downloadCMake-96809a8541513c7adb52a65766154d417281227e.zip
CMake-96809a8541513c7adb52a65766154d417281227e.tar.gz
CMake-96809a8541513c7adb52a65766154d417281227e.tar.bz2
cmGeneratorTarget: Give temporary link impl item an explicit name
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index a7d825d..ca18f53 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -7490,8 +7490,8 @@ void cmGeneratorTarget::ComputeLinkImplementationLibraries(
}
// The entry is meant for this configuration.
- impl.Libraries.emplace_back(this->ResolveLinkItem(name, *btIt, lg),
- evaluated != *le);
+ cmLinkItem item = this->ResolveLinkItem(name, *btIt, lg);
+ impl.Libraries.emplace_back(std::move(item), evaluated != *le);
}
std::set<std::string> const& seenProps = cge->GetSeenTargetProperties();