diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-06 11:00:17 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-05-07 20:02:02 (GMT) |
commit | 9cbc63e40caa1c3afd771d1e20c4c4c188953c00 (patch) | |
tree | 2ea284db94fe079998b3edc43e9620b85856524c /Modules/Compiler/GNU-CXX.cmake | |
parent | c010e7cc806d845f1b048bc8c41d2c1326075beb (diff) | |
download | CMake-9cbc63e40caa1c3afd771d1e20c4c4c188953c00.zip CMake-9cbc63e40caa1c3afd771d1e20c4c4c188953c00.tar.gz CMake-9cbc63e40caa1c3afd771d1e20c4c4c188953c00.tar.bz2 |
Features: Record for GNU 4.7.
Update the CompileFeatures test to verify that unsupported features
do not work.
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 6ec3958..d0de14c 100644 --- a/Modules/Compiler/GNU-CXX.cmake +++ b/Modules/Compiler/GNU-CXX.cmake @@ -32,7 +32,7 @@ macro(cmake_record_cxx_compile_features) endif() endmacro() - if (UNIX AND NOT APPLE AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8) + if (UNIX AND NOT APPLE AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7) _get_gcc_features(c++11 CMAKE_CXX11_COMPILE_FEATURES) _get_gcc_features(c++98 CMAKE_CXX98_COMPILE_FEATURES) else() |