diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2023-11-20 17:44:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-11-29 16:26:52 (GMT) |
commit | 9798482a8c2d1838bbdbed790074e4d231be9a17 (patch) | |
tree | b331e529d4d61fa92e30749c34185536814db1f2 /Source/cmGeneratorTarget.h | |
parent | 5fbc24a31da4cbc42bb08087a64e85a3f483bd98 (diff) | |
download | CMake-9798482a8c2d1838bbdbed790074e4d231be9a17.zip CMake-9798482a8c2d1838bbdbed790074e4d231be9a17.tar.gz CMake-9798482a8c2d1838bbdbed790074e4d231be9a17.tar.bz2 |
LINK_LIBRARY-genex: correct behavior for INTERFACE_LINK_LIBRARIES_DIRECT
Fixes: #25416
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r-- | Source/cmGeneratorTarget.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index d1dbc62..e41edcf 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -449,9 +449,12 @@ public: TargetOrString ResolveTargetReference(std::string const& name, cmLocalGenerator const* lg) const; - cmLinkItem ResolveLinkItem(BT<std::string> const& name) const; - cmLinkItem ResolveLinkItem(BT<std::string> const& name, - cmLocalGenerator const* lg) const; + cmLinkItem ResolveLinkItem( + BT<std::string> const& name, + std::string const& linkFeature = cmLinkItem::DEFAULT) const; + cmLinkItem ResolveLinkItem( + BT<std::string> const& name, cmLocalGenerator const* lg, + std::string const& linkFeature = cmLinkItem::DEFAULT) const; bool HasPackageReferences() const; std::vector<std::string> GetPackageReferences() const; @@ -1182,6 +1185,7 @@ private: }; cm::optional<cmLinkItem> LookupLinkItem(std::string const& n, cmListFileBacktrace const& bt, + std::string const& linkFeature, LookupLinkItemScope* scope, LookupSelf lookupSelf) const; |