1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-17 07:11:52 +08:00

cmGeneratorTarget: Give temporary link impl item an explicit name

This commit is contained in:
Brad King
2021-05-26 10:43:47 -04:00
parent ddffbb8adb
commit 96809a8541

View File

@@ -7490,8 +7490,8 @@ void cmGeneratorTarget::ComputeLinkImplementationLibraries(
} }
// The entry is meant for this configuration. // The entry is meant for this configuration.
impl.Libraries.emplace_back(this->ResolveLinkItem(name, *btIt, lg), cmLinkItem item = this->ResolveLinkItem(name, *btIt, lg);
evaluated != *le); impl.Libraries.emplace_back(std::move(item), evaluated != *le);
} }
std::set<std::string> const& seenProps = cge->GetSeenTargetProperties(); std::set<std::string> const& seenProps = cge->GetSeenTargetProperties();