diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-10 19:05:54 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-01-15 23:11:01 (GMT) |
commit | b15c008fac22720ccd793b18c235046bc84ecc86 (patch) | |
tree | a408797157bd20bd9e018e26cf5a867476322383 /Modules/Compiler/GNU-CXX.cmake | |
parent | f13a2eb118d8b152a897e09fdcf43793f8e1bcca (diff) | |
download | CMake-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-CXX.cmake')
-rw-r--r-- | Modules/Compiler/GNU-CXX.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/GNU-CXX.cmake b/Modules/Compiler/GNU-CXX.cmake index c03cc4b..eeada86 100644 --- a/Modules/Compiler/GNU-CXX.cmake +++ b/Modules/Compiler/GNU-CXX.cmake @@ -45,7 +45,7 @@ macro(cmake_record_cxx_compile_features) if (UNIX AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8) _get_gcc_features(${CMAKE_CXX14_STANDARD_COMPILE_OPTION} CMAKE_CXX14_COMPILE_FEATURES) endif() - if (UNIX AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7) + if (UNIX AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.6) if (_result EQUAL 0) _get_gcc_features(${CMAKE_CXX11_STANDARD_COMPILE_OPTION} CMAKE_CXX11_COMPILE_FEATURES) endif() |