diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-11 14:55:09 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-01-15 21:13:22 (GMT) |
commit | 1532b9214f79517fe74dc674939601c75f4af300 (patch) | |
tree | 226d16e6ffb01ace245221bacbbc9dffc77e843d /Modules/Compiler | |
parent | 1f4649e62f6394a6e9af67486e4c41f3e286de47 (diff) | |
download | CMake-1532b9214f79517fe74dc674939601c75f4af300.zip CMake-1532b9214f79517fe74dc674939601c75f4af300.tar.gz CMake-1532b9214f79517fe74dc674939601c75f4af300.tar.bz2 |
Features: Make cxx_noexcept available from GNU 4.6.
As listed in the reference document.
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/GNU-CXX-FeatureTests.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/GNU-CXX-FeatureTests.cmake b/Modules/Compiler/GNU-CXX-FeatureTests.cmake index 6de06dd..03b53e1 100644 --- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake +++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake @@ -46,7 +46,6 @@ set(_cmake_feature_test_cxx_alias_templates "${GNU47_CXX11}") set(_cmake_feature_test_cxx_delegating_constructors "${GNU47_CXX11}") set(_cmake_feature_test_cxx_extended_friend_declarations "${GNU47_CXX11}") set(_cmake_feature_test_cxx_final "${GNU47_CXX11}") -set(_cmake_feature_test_cxx_noexcept "${GNU47_CXX11}") set(_cmake_feature_test_cxx_nonstatic_member_init "${GNU47_CXX11}") set(_cmake_feature_test_cxx_override "${GNU47_CXX11}") set(_cmake_feature_test_cxx_user_literals "${GNU47_CXX11}") @@ -60,6 +59,7 @@ set(GNU46_CXX11 "${_cmake_oldestSupported} && __cplusplus >= 201103L") set(_cmake_feature_test_cxx_constexpr "${GNU46_CXX11}") set(_cmake_feature_test_cxx_defaulted_move_initializers "${GNU46_CXX11}") set(_cmake_feature_test_cxx_enum_forward_declarations "${GNU46_CXX11}") +set(_cmake_feature_test_cxx_noexcept "${GNU46_CXX11}") set(_cmake_feature_test_cxx_nullptr "${GNU46_CXX11}") set(_cmake_feature_test_cxx_range_for "${GNU46_CXX11}") set(_cmake_feature_test_cxx_unrestricted_unions "${GNU46_CXX11}") |