diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-18 22:42:05 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:54 (GMT) |
commit | 57ac6a905c33211af420aaf1e7fc14b3871a7b16 (patch) | |
tree | 94ec2f5e816609d19ac5e3b785d9cfae24682a22 /Modules/Compiler/GNU-CXX-FeatureTests.cmake | |
parent | 88542a61011d13ed0a92b9a1da49d428846aaf20 (diff) | |
download | CMake-57ac6a905c33211af420aaf1e7fc14b3871a7b16.zip CMake-57ac6a905c33211af420aaf1e7fc14b3871a7b16.tar.gz CMake-57ac6a905c33211af420aaf1e7fc14b3871a7b16.tar.bz2 |
Features: Add cxx_final.
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 5d61656..52f49b8 100644 --- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake +++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake @@ -5,6 +5,7 @@ set(_oldestSupported "(__GNUC__ * 100 + __GNUC_MINOR__) >= 408") # TODO: Should be supported by GNU 4.7 set(GNU47_CXX11 "${_oldestSupported} && __cplusplus >= 201103L") set(_cmake_feature_test_cxx_delegating_constructors "${GNU47_CXX11}") +set(_cmake_feature_test_cxx_final "${GNU47_CXX11}") # NOTE: C++11 was ratified in September 2011. GNU 4.7 is the first minor # release following that (March 2012), and the first minor release to # support -std=c++11. Prior to that, support for C++11 features is technically |