diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2023-09-20 10:59:53 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2023-09-21 14:29:40 (GMT) |
commit | 3bdf95f942c8532fb1e0fbad52f04f46e822b2f9 (patch) | |
tree | 9808f750117dcf362e3daf94b29bf9c0924b72f4 /Source/cmLocalGenerator.cxx | |
parent | 4ac624debc11e3b87d53a34ccfe3e25ff9c5a426 (diff) | |
download | CMake-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.cxx | 5 |
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); |