summaryrefslogtreecommitdiff
path: root/share/cmake-3.22/Modules/Compiler/AppleClang-DetermineCompiler.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.22/Modules/Compiler/AppleClang-DetermineCompiler.cmake')
-rw-r--r--share/cmake-3.22/Modules/Compiler/AppleClang-DetermineCompiler.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/cmake-3.22/Modules/Compiler/AppleClang-DetermineCompiler.cmake b/share/cmake-3.22/Modules/Compiler/AppleClang-DetermineCompiler.cmake
new file mode 100644
index 0000000..83817f7
--- /dev/null
+++ b/share/cmake-3.22/Modules/Compiler/AppleClang-DetermineCompiler.cmake
@@ -0,0 +1,7 @@
+
+set(_compiler_id_pp_test "defined(__clang__) && defined(__apple_build_version__)")
+
+include("${CMAKE_CURRENT_LIST_DIR}/Clang-DetermineCompilerInternal.cmake")
+
+string(APPEND _compiler_id_version_compute "
+# define @PREFIX@COMPILER_VERSION_TWEAK @MACRO_DEC@(__apple_build_version__)")