summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Framework/subdir
diff options
context:
space:
mode:
authorGregor Jasny <gregor.jasny@logmein.com>2021-12-22 10:38:52 (GMT)
committerGregor Jasny <gregor.jasny@logmein.com>2021-12-22 10:38:52 (GMT)
commit7d99cff236af619a7f1d8275575cd27050809322 (patch)
tree41b4357c69ddf8be2e99fe3585f83085e13b162d /Tests/RunCMake/Framework/subdir
parent68b0c62a72a4d3352ed909c208400d02e65a4b61 (diff)
downloadCMake-7d99cff236af619a7f1d8275575cd27050809322.zip
CMake-7d99cff236af619a7f1d8275575cd27050809322.tar.gz
CMake-7d99cff236af619a7f1d8275575cd27050809322.tar.bz2
Xcode: Properly identify frameworks with system includes
Check the complete include path for being a system include, not the derived framework search path. The code for Ninja and Makefile generators does exactly the same. Fixes: #23011
Diffstat (limited to 'Tests/RunCMake/Framework/subdir')
-rw-r--r--Tests/RunCMake/Framework/subdir/Example.framework/Example.tbd0
-rw-r--r--Tests/RunCMake/Framework/subdir/Example.framework/Headers/Example.h1
2 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/Framework/subdir/Example.framework/Example.tbd b/Tests/RunCMake/Framework/subdir/Example.framework/Example.tbd
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Tests/RunCMake/Framework/subdir/Example.framework/Example.tbd
diff --git a/Tests/RunCMake/Framework/subdir/Example.framework/Headers/Example.h b/Tests/RunCMake/Framework/subdir/Example.framework/Headers/Example.h
new file mode 100644
index 0000000..92cdb70
--- /dev/null
+++ b/Tests/RunCMake/Framework/subdir/Example.framework/Headers/Example.h
@@ -0,0 +1 @@
+#pragma GCC warning "This should be suppressed"