summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
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.cxx
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.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index d1680ad..b9f15b7 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -474,6 +474,12 @@ std::vector<std::string> const& cmComputeLinkInformation::GetFrameworkPaths()
return this->FrameworkPaths;
}
+std::set<std::string> const&
+cmComputeLinkInformation::GetFrameworkPathsEmitted() const
+{
+ return this->FrameworkPathsEmitted;
+}
+
const std::set<const cmGeneratorTarget*>&
cmComputeLinkInformation::GetSharedLibrariesLinked() const
{