summaryrefslogtreecommitdiff
path: root/Modules/Compiler/AppleClang-C.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-09 20:18:26 +0100
committerStephen Kelly <steveire@gmail.com>2015-01-11 16:52:27 +0100
commit3ad893b5c23566184bc78eafb1446c05bd39a643 (patch)
tree0c42e880abf5bb2fa3701ed1590b56a6ce17c4c9 /Modules/Compiler/AppleClang-C.cmake
parent98965fb12d0d07deb6d953624529f8b8151dce13 (diff)
downloadcmake-3ad893b5c23566184bc78eafb1446c05bd39a643.tar.gz
Features: Record for historical Xcode clang versions.
Diffstat (limited to 'Modules/Compiler/AppleClang-C.cmake')
-rw-r--r--Modules/Compiler/AppleClang-C.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/AppleClang-C.cmake b/Modules/Compiler/AppleClang-C.cmake
index b7c1aca624..06657455d9 100644
--- a/Modules/Compiler/AppleClang-C.cmake
+++ b/Modules/Compiler/AppleClang-C.cmake
@@ -19,7 +19,7 @@ macro(cmake_record_c_compile_features)
record_compiler_features(C "${std_version}" ${list})
endmacro()
- if (UNIX AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 5.1)
+ if (UNIX AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 4.0)
_get_appleclang_features(${CMAKE_C11_STANDARD_COMPILE_OPTION} CMAKE_C11_COMPILE_FEATURES)
if (_result EQUAL 0)
_get_appleclang_features(${CMAKE_C99_STANDARD_COMPILE_OPTION} CMAKE_C99_COMPILE_FEATURES)