summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-08-31 09:52:43 (GMT)
committerBrad King <brad.king@kitware.com>2022-08-31 13:54:46 (GMT)
commit71dae4eb5c0803f9a32dfa7b3fc5c66ee412674a (patch)
tree1f1f96f62e853ff48756c184d724843b21ad8a93 /Source
parent8bcc84283edff63d65a4f7364be0da927b8b8987 (diff)
parentf5a441a616c03739962b52fd8dd0deb48cc9083b (diff)
downloadCMake-71dae4eb5c0803f9a32dfa7b3fc5c66ee412674a.zip
CMake-71dae4eb5c0803f9a32dfa7b3fc5c66ee412674a.tar.gz
CMake-71dae4eb5c0803f9a32dfa7b3fc5c66ee412674a.tar.bz2
Merge branch 'backport-3.24-Link-MACOSX_BUNDLE' into Link-MACOSX_BUNDLE
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 7523662..eb85b47 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -3650,6 +3650,7 @@ void cmGlobalXCodeGenerator::AddDependAndLinkInformation(cmXCodeObject* target)
}
}
} else {
+ linkDir = cmSystemTools::GetParentDirectory(linkDir);
if (std::find(linkSearchPaths.begin(), linkSearchPaths.end(), linkDir) ==
linkSearchPaths.end()) {
linkSearchPaths.push_back(linkDir);