mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-18 05:01:50 -06:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user