diff options
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r-- | Source/cmComputeLinkInformation.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx index 9df2044..fe4491d 100644 --- a/Source/cmComputeLinkInformation.cxx +++ b/Source/cmComputeLinkInformation.cxx @@ -571,7 +571,7 @@ bool cmComputeLinkInformation::Compute() } } - if (linkEntry.IsSharedDep) { + if (linkEntry.Kind == cmComputeLinkDepends::LinkEntry::SharedDep) { this->AddSharedDepItem(linkEntry); } else { this->AddItem(linkEntry); @@ -1521,7 +1521,9 @@ void cmComputeLinkInformation::AddFullItem(LinkEntry const& entry) item, ItemIsPath::Yes, nullptr, this->FindLibraryFeature( entry.Feature == DEFAULT - ? (entry.IsObject ? "__CMAKE_LINK_OBJECT" : "__CMAKE_LINK_LIBRARY") + ? (entry.Kind == cmComputeLinkDepends::LinkEntry::Object + ? "__CMAKE_LINK_OBJECT" + : "__CMAKE_LINK_LIBRARY") : entry.Feature)); } |