summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.h
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2021-02-03 12:03:00 (GMT)
committerCraig Scott <craig.scott@crascit.com>2021-02-03 12:11:21 (GMT)
commit5389bb4274f80b69e45aceffbdf3ffdb1e79908f (patch)
tree36aa0599b6baf9cd28cca21e55f17e2dc94b25d7 /Source/cmComputeLinkInformation.h
parentdf08f8df3027db25eb1cb75fb6017c3a8c046674 (diff)
downloadCMake-5389bb4274f80b69e45aceffbdf3ffdb1e79908f.zip
CMake-5389bb4274f80b69e45aceffbdf3ffdb1e79908f.tar.gz
CMake-5389bb4274f80b69e45aceffbdf3ffdb1e79908f.tar.bz2
Xcode: Don't hard-code SDK-provided implicit framework search paths
When a framework is linked to a target by its full path and that framework is located in one of the implicit framework search directories, CMake 3.18.5 and earlier discarded that path. ce2dee9e5ba (Xcode: Don't add framework as -framework argument in linker info list, 2020-09-28) introduced a regression which resulted in the framework path always being added to the search path even if it matched one of the implicit search paths. This broke the ability to do device and simulator builds from the same configured project. Fixes: #21678
Diffstat (limited to 'Source/cmComputeLinkInformation.h')
-rw-r--r--Source/cmComputeLinkInformation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmComputeLinkInformation.h b/Source/cmComputeLinkInformation.h
index d8ec563..9fec702 100644
--- a/Source/cmComputeLinkInformation.h
+++ b/Source/cmComputeLinkInformation.h
@@ -55,6 +55,7 @@ public:
std::vector<BT<std::string>> GetDirectoriesWithBacktraces();
std::vector<std::string> const& GetDepends() const;
std::vector<std::string> const& GetFrameworkPaths() const;
+ std::set<std::string> const& GetFrameworkPathsEmitted() const;
std::string GetLinkLanguage() const { return this->LinkLanguage; }
std::vector<std::string> const& GetRuntimeSearchPath() const;
std::string const& GetRuntimeFlag() const { return this->RuntimeFlag; }