summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/GNU-C.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-10 19:05:54 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-15 23:11:01 (GMT)
commitb15c008fac22720ccd793b18c235046bc84ecc86 (patch)
treea408797157bd20bd9e018e26cf5a867476322383 /Modules/Compiler/GNU-C.cmake
parentf13a2eb118d8b152a897e09fdcf43793f8e1bcca (diff)
downloadCMake-b15c008fac22720ccd793b18c235046bc84ecc86.zip
CMake-b15c008fac22720ccd793b18c235046bc84ecc86.tar.gz
CMake-b15c008fac22720ccd793b18c235046bc84ecc86.tar.bz2
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.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/GNU-C.cmake b/Modules/Compiler/GNU-C.cmake
index 8faf4e4..d5e747d 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)