summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/GNU-CXX-FeatureTests.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-03 17:40:06 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:55 (GMT)
commit735adf2c94c1ee0cca710c6eb0bade2b84c461de (patch)
treec56784c49d8d8535f057157dc7b66b360d47d367 /Modules/Compiler/GNU-CXX-FeatureTests.cmake
parent0fa9bbf1fa5278d965cbbb7de82f56ef42789fe8 (diff)
downloadCMake-735adf2c94c1ee0cca710c6eb0bade2b84c461de.zip
CMake-735adf2c94c1ee0cca710c6eb0bade2b84c461de.tar.gz
CMake-735adf2c94c1ee0cca710c6eb0bade2b84c461de.tar.bz2
Features: Add cxx_range_for.
Diffstat (limited to 'Modules/Compiler/GNU-CXX-FeatureTests.cmake')
-rw-r--r--Modules/Compiler/GNU-CXX-FeatureTests.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/GNU-CXX-FeatureTests.cmake b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
index 4539fd6..c48fca8 100644
--- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake
+++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
@@ -20,6 +20,7 @@ set(_cmake_feature_test_cxx_override "${GNU47_CXX11}")
set(GNU46_CXX11 "${_oldestSupported} && __cplusplus >= 201103L")
set(_cmake_feature_test_cxx_constexpr "${GNU46_CXX11}")
set(_cmake_feature_test_cxx_nullptr "${GNU46_CXX11}")
+set(_cmake_feature_test_cxx_range_for "${GNU46_CXX11}")
# TODO: Should be supported by GNU 4.5
set(GNU45_CXX11 "${_oldestSupported} && __cplusplus >= 201103L")
set(_cmake_feature_test_cxx_explicit_conversions "${GNU45_CXX11}")