summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-03 22:02:14 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:54 (GMT)
commit0caf08e43ef405a879393cb3a4bae0b6b87e26b6 (patch)
tree97613dadc9dff6bb8bd1f0c4e1a856730bdbd2e1 /Modules
parent0685ac6edc8f9285e7b12d32a182e569a372856c (diff)
downloadCMake-0caf08e43ef405a879393cb3a4bae0b6b87e26b6.zip
CMake-0caf08e43ef405a879393cb3a4bae0b6b87e26b6.tar.gz
CMake-0caf08e43ef405a879393cb3a4bae0b6b87e26b6.tar.bz2
Features: Add cxx_auto_function.
Diffstat (limited to 'Modules')
-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 87ed765..3549824 100644
--- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake
+++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
@@ -18,6 +18,7 @@ set(_cmake_feature_test_cxx_constexpr "${GNU46_CXX11}")
# TODO: Should be supported by GNU 4.4
set(GNU44_CXX11 "${_oldestSupported} && __cplusplus >= 201103L")
set(_cmake_feature_test_cxx_auto_type "${GNU44_CXX11}")
+set(_cmake_feature_test_cxx_trailing_return_types "${GNU44_CXX11}")
set(_cmake_feature_test_cxx_variadic_templates "${GNU44_CXX11}")
# TODO: If features are ever recorded for GNU 4.3, there should possibly
# be a new feature added like cxx_variadic_template_template_parameters,