summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/AppleClang-C-FeatureTests.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Compiler/AppleClang-C-FeatureTests.cmake')
-rw-r--r--Modules/Compiler/AppleClang-C-FeatureTests.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/AppleClang-C-FeatureTests.cmake b/Modules/Compiler/AppleClang-C-FeatureTests.cmake
index ec1d43f..6f3d6a7 100644
--- a/Modules/Compiler/AppleClang-C-FeatureTests.cmake
+++ b/Modules/Compiler/AppleClang-C-FeatureTests.cmake
@@ -1,5 +1,5 @@
-set(_cmake_oldestSupported "((__clang_major__ * 100) + __clang_minor__) >= 501")
+set(_cmake_oldestSupported "((__clang_major__ * 100) + __clang_minor__) >= 400")
set(AppleClang_C11 "${_cmake_oldestSupported} && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L")
set(_cmake_feature_test_c_static_assert "${AppleClang_C11}")