diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-09 19:18:26 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-01-11 15:52:27 (GMT) |
commit | 3ad893b5c23566184bc78eafb1446c05bd39a643 (patch) | |
tree | 0c42e880abf5bb2fa3701ed1590b56a6ce17c4c9 /Modules/Compiler/AppleClang-C.cmake | |
parent | 98965fb12d0d07deb6d953624529f8b8151dce13 (diff) | |
download | CMake-3ad893b5c23566184bc78eafb1446c05bd39a643.zip CMake-3ad893b5c23566184bc78eafb1446c05bd39a643.tar.gz CMake-3ad893b5c23566184bc78eafb1446c05bd39a643.tar.bz2 |
Features: Record for historical Xcode clang versions.
Diffstat (limited to 'Modules/Compiler/AppleClang-C.cmake')
-rw-r--r-- | Modules/Compiler/AppleClang-C.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/AppleClang-C.cmake b/Modules/Compiler/AppleClang-C.cmake index b7c1aca..0665745 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) |