summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/GNU-CXX.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-05-08 15:28:03 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-05-08 15:28:03 (GMT)
commitf1d504d6cd1812812520326171c4819febb76325 (patch)
tree03a37ef4e49bbc5b024df2aa111ae88808bf5e53 /Modules/Compiler/GNU-CXX.cmake
parenta07b979c1c1b6e89209889f4b1fe70d0e9ca6d45 (diff)
parent9cbc63e40caa1c3afd771d1e20c4c4c188953c00 (diff)
downloadCMake-f1d504d6cd1812812520326171c4819febb76325.zip
CMake-f1d504d6cd1812812520326171c4819febb76325.tar.gz
CMake-f1d504d6cd1812812520326171c4819febb76325.tar.bz2
Merge topic 'GNU-4.7-features'
9cbc63e4 Features: Record for GNU 4.7.
Diffstat (limited to 'Modules/Compiler/GNU-CXX.cmake')
-rw-r--r--Modules/Compiler/GNU-CXX.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/GNU-CXX.cmake b/Modules/Compiler/GNU-CXX.cmake
index d324985..1ecdad2 100644
--- a/Modules/Compiler/GNU-CXX.cmake
+++ b/Modules/Compiler/GNU-CXX.cmake
@@ -31,7 +31,7 @@ macro(cmake_record_cxx_compile_features)
record_compiler_features(CXX "-std=${std_version}" ${list})
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)
if (_result EQUAL 0)
_get_gcc_features(c++98 CMAKE_CXX98_COMPILE_FEATURES)