diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-04 07:25:46 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:55 (GMT) |
commit | b1c5bd531417b74ddb2cb4365c49f0723c7a8e75 (patch) | |
tree | 620469902ddb8409680c00707230962a67678539 /Modules/Compiler/GNU-CXX-FeatureTests.cmake | |
parent | ea9c445f066589067992694cb6abc0d70ad97dd7 (diff) | |
download | CMake-b1c5bd531417b74ddb2cb4365c49f0723c7a8e75.zip CMake-b1c5bd531417b74ddb2cb4365c49f0723c7a8e75.tar.gz CMake-b1c5bd531417b74ddb2cb4365c49f0723c7a8e75.tar.bz2 |
Features: Add cxx_reference_qualified_functions.
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 5c1f2c8..b9ed092 100644 --- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake +++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake @@ -2,6 +2,9 @@ # Reference: http://gcc.gnu.org/projects/cxx0x.html 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(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 |