summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-06 15:12:03 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-01-06 15:12:26 (GMT)
commitac892a64a93054f27dfd84d99af01ac68aa617d7 (patch)
tree55c05e45b8b7bed3c3553a5350629455fa171eaa /Source
parent2f244b4cb82e4a91162d2965a0cea6da12359665 (diff)
parent7d99cff236af619a7f1d8275575cd27050809322 (diff)
downloadCMake-ac892a64a93054f27dfd84d99af01ac68aa617d7.zip
CMake-ac892a64a93054f27dfd84d99af01ac68aa617d7.tar.gz
CMake-ac892a64a93054f27dfd84d99af01ac68aa617d7.tar.bz2
Merge topic 'xcode-framework-system-includes'
7d99cff236 Xcode: Properly identify frameworks with system includes Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6815
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 44a3eb7..bc2a6f7 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -2683,7 +2683,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmGeneratorTarget* gtgt,
if (emitted.insert(frameworkDir).second) {
std::string incpath = this->XCodeEscapePath(frameworkDir);
if (emitSystemIncludes &&
- gtgt->IsSystemIncludeDirectory(frameworkDir, configName,
+ gtgt->IsSystemIncludeDirectory(include, configName,
langForPreprocessor)) {
sysfdirs.Add(incpath);
} else {