diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-06 08:17:15 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:57 (GMT) |
commit | 9a49fd21bedacdda51ecfa82a15a0e52dd64948f (patch) | |
tree | e96a14650a1088088c4f8c14e6249e785a58f926 /Modules | |
parent | 1889045ca672e295c18203401c27a9e62ff45424 (diff) | |
download | CMake-9a49fd21bedacdda51ecfa82a15a0e52dd64948f.zip CMake-9a49fd21bedacdda51ecfa82a15a0e52dd64948f.tar.gz CMake-9a49fd21bedacdda51ecfa82a15a0e52dd64948f.tar.bz2 |
Features: Add cxx_decltype_incomplete_return_types.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/GNU-CXX-FeatureTests.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/Compiler/GNU-CXX-FeatureTests.cmake b/Modules/Compiler/GNU-CXX-FeatureTests.cmake index a98ae3a..e93888c 100644 --- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake +++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake @@ -3,8 +3,9 @@ set(_oldestSupported "(__GNUC__ * 100 + __GNUC_MINOR__) >= 408") # Introduced in GCC 4.8.1 -set(_cmake_feature_test_cxx_reference_qualified_functions - "((__GNUC__ * 100 + __GNUC_MINOR__) > 408 || __GNUC_PATCHLEVEL__ >= 1) && __cplusplus >= 201103L") +set(GNU481_CXX11 "((__GNUC__ * 100 + __GNUC_MINOR__) > 408 || __GNUC_PATCHLEVEL__ >= 1) && __cplusplus >= 201103L") +set(_cmake_feature_test_cxx_decltype_incomplete_return_types "${GNU481_CXX11}") +set(_cmake_feature_test_cxx_reference_qualified_functions "${GNU481_CXX11}") set(GNU48_CXX11 "(__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L") set(_cmake_feature_test_cxx_alignas "${GNU48_CXX11}") set(_cmake_feature_test_cxx_alignof "${GNU48_CXX11}") |