diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-03 17:18:01 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:55 (GMT) |
commit | a579a0aab4e55aeb0a71dc7c1b58db3d126e1fd4 (patch) | |
tree | fb49ee1fc8606bfbc2d353c9ad20ff053df1c90f /Modules/Compiler/GNU-CXX-FeatureTests.cmake | |
parent | ebab2015f9b9b11f09e19369be7a1c8d3bfe3ae4 (diff) | |
download | CMake-a579a0aab4e55aeb0a71dc7c1b58db3d126e1fd4.zip CMake-a579a0aab4e55aeb0a71dc7c1b58db3d126e1fd4.tar.gz CMake-a579a0aab4e55aeb0a71dc7c1b58db3d126e1fd4.tar.bz2 |
Features: Add cxx_inheriting_constructors.
Diffstat (limited to 'Modules/Compiler/GNU-CXX-FeatureTests.cmake')
-rw-r--r-- | Modules/Compiler/GNU-CXX-FeatureTests.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/GNU-CXX-FeatureTests.cmake b/Modules/Compiler/GNU-CXX-FeatureTests.cmake index 30bb171..6844e28 100644 --- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake +++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake @@ -2,6 +2,8 @@ # Reference: http://gcc.gnu.org/projects/cxx0x.html set(_oldestSupported "(__GNUC__ * 100 + __GNUC_MINOR__) >= 408") +set(GNU48_CXX11 "(__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L") +set(_cmake_feature_test_cxx_inheriting_constructors "${GNU48_CXX11}") # TODO: Should be supported by GNU 4.7 set(GNU47_CXX11 "${_oldestSupported} && __cplusplus >= 201103L") set(_cmake_feature_test_cxx_delegating_constructors "${GNU47_CXX11}") |