From 96809a8541513c7adb52a65766154d417281227e Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 26 May 2021 10:43:47 -0400 Subject: cmGeneratorTarget: Give temporary link impl item an explicit name --- Source/cmGeneratorTarget.cxx | 4 ++-- 1 file 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 const& seenProps = cge->GetSeenTargetProperties(); -- cgit v0.12