diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-10 20:05:54 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-01-16 00:11:01 +0100 |
commit | b15c008fac22720ccd793b18c235046bc84ecc86 (patch) | |
tree | a408797157bd20bd9e018e26cf5a867476322383 /Modules/Compiler/GNU-C.cmake | |
parent | f13a2eb118d8b152a897e09fdcf43793f8e1bcca (diff) | |
download | cmake-b15c008fac22720ccd793b18c235046bc84ecc86.tar.gz |
Features: Record for GNU 4.6.
Adjust the CompileFeatures genex_test for the expectation of the
OVERRIDE_CONTROL feature group.
Diffstat (limited to 'Modules/Compiler/GNU-C.cmake')
-rw-r--r-- | Modules/Compiler/GNU-C.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/GNU-C.cmake b/Modules/Compiler/GNU-C.cmake index 8faf4e45cd..d5e747da40 100644 --- a/Modules/Compiler/GNU-C.cmake +++ b/Modules/Compiler/GNU-C.cmake @@ -29,7 +29,7 @@ macro(cmake_record_c_compile_features) endmacro() set(_result 0) - if (UNIX AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 4.7) + if (UNIX AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 4.6) _get_gcc_features(${CMAKE_C11_STANDARD_COMPILE_OPTION} CMAKE_C11_COMPILE_FEATURES) if (_result EQUAL 0) _get_gcc_features(${CMAKE_C99_STANDARD_COMPILE_OPTION} CMAKE_C99_COMPILE_FEATURES) |