diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-02-10 23:57:14 +0100 |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2022-02-15 10:53:33 +0100 |
commit | a2cfa2da4f53a5e9c78e6cf7332c6a308ef38af2 (patch) | |
tree | 28ddbbd9f07ad92b87fbe439c2ead74041c74f44 /Source/cmComputeLinkInformation.h | |
parent | 40178f3c908795a993148553a04be25748942efc (diff) | |
download | cmake-a2cfa2da4f53a5e9c78e6cf7332c6a308ef38af2.tar.gz |
GenEx/LINK_LIBRARY: Add features for framework support on Apple
Diffstat (limited to 'Source/cmComputeLinkInformation.h')
-rw-r--r-- | Source/cmComputeLinkInformation.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmComputeLinkInformation.h b/Source/cmComputeLinkInformation.h index ccb22bd647..4b7fb1aacc 100644 --- a/Source/cmComputeLinkInformation.h +++ b/Source/cmComputeLinkInformation.h @@ -63,6 +63,11 @@ public: cmGeneratorTarget const* Target = nullptr; bool HasFeature() const { return this->Feature != nullptr; } + const std::string& GetFeatureName() const + { + return HasFeature() ? this->Feature->Name + : cmComputeLinkDepends::LinkEntry::DEFAULT; + } BT<std::string> GetFormattedItem(std::string const& path) const { |