diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-10-27 16:45:41 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-10-27 17:25:33 (GMT) |
commit | 035302b7e3143537eaa9668738f4b6759f1e27ad (patch) | |
tree | 01bd8462e7b7d5c99f91c392fa45e3f7497ec4e0 /Source | |
parent | 861876b9369226c6491bd1c1ad4f6ec98a967d0b (diff) | |
download | CMake-035302b7e3143537eaa9668738f4b6759f1e27ad.zip CMake-035302b7e3143537eaa9668738f4b6759f1e27ad.tar.gz CMake-035302b7e3143537eaa9668738f4b6759f1e27ad.tar.bz2 |
cmComputeLinkDepends: also copy the target from object link items
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmComputeLinkDepends.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx index f51a1c8..ce0df6b 100644 --- a/Source/cmComputeLinkDepends.cxx +++ b/Source/cmComputeLinkDepends.cxx @@ -512,6 +512,7 @@ void cmComputeLinkDepends::AddLinkObject(cmLinkItem const& item) LinkEntry& entry = this->EntryList[index]; entry.Item = BT<std::string>(item.AsStr(), item.Backtrace); entry.Kind = LinkEntry::Object; + entry.Target = item.Target; // Record explicitly linked object files separately. this->ObjectEntries.emplace_back(index); |