mirror of
https://github.com/Kitware/CMake.git
synced 2025-06-24 05:03:26 +08:00
cmGeneratorTarget: Record when imported target link iface libs are done
`GetImportLinkInterface` populates the link interface from properties of imported targets. Make it more closely match the link interface of in-project targets by recording the `LibrariesDone` field.
This commit is contained in:
parent
d5026daa9e
commit
0dcbf4ab58
@ -7284,6 +7284,7 @@ const cmLinkInterface* cmGeneratorTarget::GetImportLinkInterface(
|
||||
cmOptionalLinkInterface& iface = hm[headTarget];
|
||||
if (!iface.AllDone) {
|
||||
iface.AllDone = true;
|
||||
iface.LibrariesDone = true;
|
||||
iface.Multiplicity = info->Multiplicity;
|
||||
cmExpandList(info->Languages, iface.Languages);
|
||||
this->ExpandLinkItems(info->LibrariesProp, cmMakeRange(info->Libraries),
|
||||
|
Loading…
x
Reference in New Issue
Block a user