diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-03 22:00:28 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:54 (GMT) |
commit | 88542a61011d13ed0a92b9a1da49d428846aaf20 (patch) | |
tree | 7d47d944ab3b70f73325c4512a21995e86c314cc /Modules/Compiler/GNU-CXX-FeatureTests.cmake | |
parent | 91289312fa9da0807b5c59a78de2c5ad21d6cda1 (diff) | |
download | CMake-88542a61011d13ed0a92b9a1da49d428846aaf20.zip CMake-88542a61011d13ed0a92b9a1da49d428846aaf20.tar.gz CMake-88542a61011d13ed0a92b9a1da49d428846aaf20.tar.bz2 |
Features: Add cxx_static_assert.
Diffstat (limited to 'Modules/Compiler/GNU-CXX-FeatureTests.cmake')
-rw-r--r-- | Modules/Compiler/GNU-CXX-FeatureTests.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Compiler/GNU-CXX-FeatureTests.cmake b/Modules/Compiler/GNU-CXX-FeatureTests.cmake index 5321eda..5d61656 100644 --- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake +++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake @@ -24,4 +24,7 @@ set(_cmake_feature_test_cxx_variadic_templates "${GNU44_CXX11}") # 'completes' it, so that is the version we record as having the variadic # templates capability in CMake. See # 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_static_assert "${GNU43_CXX11}") set(_oldestSupported) |