cmComputeLinkInformation: skip over linking to items for object purposes
If a name is only found because it is a link entry of kind `Object`, do not add anything to the link line.
This commit is contained in:
parent
035302b7e3
commit
64d9240564
@ -1220,7 +1220,7 @@ void cmComputeLinkInformation::AddItem(LinkEntry const& entry)
|
||||
this->AddFullItem(entry);
|
||||
this->AddLibraryRuntimeInfo(item.Value);
|
||||
}
|
||||
} else {
|
||||
} else if (entry.Kind != cmComputeLinkDepends::LinkEntry::Object) {
|
||||
// This is a library or option specified by the user.
|
||||
this->AddUserItem(entry, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user