summaryrefslogtreecommitdiff
path: root/share/cmake-3.22/Modules/Platform/Apple-AppleClang-C.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.22/Modules/Platform/Apple-AppleClang-C.cmake')
-rw-r--r--share/cmake-3.22/Modules/Platform/Apple-AppleClang-C.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/cmake-3.22/Modules/Platform/Apple-AppleClang-C.cmake b/share/cmake-3.22/Modules/Platform/Apple-AppleClang-C.cmake
new file mode 100644
index 0000000..f45ccf4
--- /dev/null
+++ b/share/cmake-3.22/Modules/Platform/Apple-AppleClang-C.cmake
@@ -0,0 +1,6 @@
+include(Platform/Apple-Clang-C)
+if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 4.2)
+ set(CMAKE_C_SYSTEM_FRAMEWORK_SEARCH_FLAG "-iframework ")
+else()
+ unset(CMAKE_C_SYSTEM_FRAMEWORK_SEARCH_FLAG)
+endif()