summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-07 15:28:55 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:54 (GMT)
commit750dfee29c3f45020e8fcff91499a2542913b649 (patch)
treeebe197a7b03dd37cf8e2af31c16a57772a259a70 /Modules
parent9eaf3755987821080908a289cefbf546773071f9 (diff)
downloadCMake-750dfee29c3f45020e8fcff91499a2542913b649.zip
CMake-750dfee29c3f45020e8fcff91499a2542913b649.tar.gz
CMake-750dfee29c3f45020e8fcff91499a2542913b649.tar.bz2
Features: Add cxx_delegating_constructors.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/GNU-CXX-FeatureTests.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Compiler/GNU-CXX-FeatureTests.cmake b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
index b36315f..4f14b17 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")
+# TODO: Should be supported by GNU 4.7
+set(GNU47_CXX11 "${_oldestSupported} && __cplusplus >= 201103L")
+set(_cmake_feature_test_cxx_delegating_constructors "${GNU47_CXX11}")
# TODO: Should be supported by GNU 4.4
set(GNU44_CXX11 "${_oldestSupported} && __cplusplus >= 201103L")
set(_cmake_feature_test_cxx_auto_type "${GNU44_CXX11}")