summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/GNU-CXX-FeatureTests.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-03 17:23:40 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:55 (GMT)
commit15cdf6f51dde9a394ffc7a398e201e59cc959111 (patch)
tree2329e25164e824e8dd2f517fccd0176418ce826e /Modules/Compiler/GNU-CXX-FeatureTests.cmake
parenta579a0aab4e55aeb0a71dc7c1b58db3d126e1fd4 (diff)
downloadCMake-15cdf6f51dde9a394ffc7a398e201e59cc959111.zip
CMake-15cdf6f51dde9a394ffc7a398e201e59cc959111.tar.gz
CMake-15cdf6f51dde9a394ffc7a398e201e59cc959111.tar.bz2
Features: Add cxx_lambdas.
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 6844e28..f182cea 100644
--- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake
+++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
@@ -20,6 +20,7 @@ set(_cmake_feature_test_cxx_constexpr "${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}")
+set(_cmake_feature_test_cxx_lambdas "${GNU45_CXX11}")
# TODO: Should be supported by GNU 4.4
set(GNU44_CXX11 "${_oldestSupported} && __cplusplus >= 201103L")
set(_cmake_feature_test_cxx_auto_type "${GNU44_CXX11}")