summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2023-09-20 10:59:53 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2023-09-21 14:29:40 (GMT)
commit3bdf95f942c8532fb1e0fbad52f04f46e822b2f9 (patch)
tree9808f750117dcf362e3daf94b29bf9c0924b72f4 /Source/cmLocalGenerator.cxx
parent4ac624debc11e3b87d53a34ccfe3e25ff9c5a426 (diff)
downloadCMake-3bdf95f942c8532fb1e0fbad52f04f46e822b2f9.zip
CMake-3bdf95f942c8532fb1e0fbad52f04f46e822b2f9.tar.gz
CMake-3bdf95f942c8532fb1e0fbad52f04f46e822b2f9.tar.bz2
macOS: GNU toolchain: ensure framework, marked as SYSTEM, can be linked
Fixes: #25263
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 63c8aa8..f1fe7df 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1850,11 +1850,8 @@ void cmLocalGenerator::OutputLinkLibraries(
// Append the framework search path flags.
cmValue fwSearchFlag = this->Makefile->GetDefinition(
cmStrCat("CMAKE_", linkLanguage, "_FRAMEWORK_SEARCH_FLAG"));
- cmValue sysFwSearchFlag = this->Makefile->GetDefinition(
- cmStrCat("CMAKE_", linkLanguage, "_SYSTEM_FRAMEWORK_SEARCH_FLAG"));
- frameworkPath =
- linkLineComputer->ComputeFrameworkPath(cli, fwSearchFlag, sysFwSearchFlag);
+ frameworkPath = linkLineComputer->ComputeFrameworkPath(cli, fwSearchFlag);
linkLineComputer->ComputeLinkPath(cli, libPathFlag, libPathTerminator,
linkPath);
linkLineComputer->ComputeLinkLibraries(cli, stdLibString, linkLibraries);