diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-02 22:08:49 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:54 (GMT) |
commit | 7e748417bc8e06caa8eb0b6a6258b7d24cc22bfb (patch) | |
tree | bacca715b7a1c49ecb6c851acb451755c256ab9c /Modules/Compiler/GNU-CXX-FeatureTests.cmake | |
parent | 8d3467636c4fad32c25390244a62e58e068c33ad (diff) | |
download | CMake-7e748417bc8e06caa8eb0b6a6258b7d24cc22bfb.zip CMake-7e748417bc8e06caa8eb0b6a6258b7d24cc22bfb.tar.gz CMake-7e748417bc8e06caa8eb0b6a6258b7d24cc22bfb.tar.bz2 |
Features: Add cxx_decltype.
Diffstat (limited to 'Modules/Compiler/GNU-CXX-FeatureTests.cmake')
-rw-r--r-- | Modules/Compiler/GNU-CXX-FeatureTests.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/GNU-CXX-FeatureTests.cmake b/Modules/Compiler/GNU-CXX-FeatureTests.cmake index c451b7e..de328c4 100644 --- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake +++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake @@ -30,5 +30,6 @@ set(_cmake_feature_test_cxx_variadic_templates "${GNU44_CXX11}") # http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2555.pdf # TODO: Should be supported by GNU 4.3 set(GNU43_CXX11 "${_oldestSupported} && __cplusplus >= 201103L") +set(_cmake_feature_test_cxx_decltype "${GNU43_CXX11}") set(_cmake_feature_test_cxx_static_assert "${GNU43_CXX11}") set(_oldestSupported) |