summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/GNU-CXX-FeatureTests.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-31 20:16:12 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-31 20:16:12 (GMT)
commit68b5b23b3bd948ec15f2ebed2154db8ab50f66e9 (patch)
tree428a4763f9f4dc21cfd4c670e684195f5516ff52 /Modules/Compiler/GNU-CXX-FeatureTests.cmake
parenta01f81b9064a31760787bc6a2fb9305ef97117e7 (diff)
downloadCMake-68b5b23b3bd948ec15f2ebed2154db8ab50f66e9.zip
CMake-68b5b23b3bd948ec15f2ebed2154db8ab50f66e9.tar.gz
CMake-68b5b23b3bd948ec15f2ebed2154db8ab50f66e9.tar.bz2
Features: Update GNU 5.0 C++14 features.
Trunk already has these features and they are listed in the status page. Also confirmed manually by running trunk.
Diffstat (limited to 'Modules/Compiler/GNU-CXX-FeatureTests.cmake')
-rw-r--r--Modules/Compiler/GNU-CXX-FeatureTests.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/GNU-CXX-FeatureTests.cmake b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
index 5fc3deb..d18adaf 100644
--- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake
+++ b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
@@ -6,6 +6,8 @@ set(_cmake_oldestSupported "(__GNUC__ * 100 + __GNUC_MINOR__) >= 404")
set(GNU50_CXX14 "(__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L")
set(_cmake_feature_test_cxx_variable_templates "${GNU50_CXX14}")
+set(_cmake_feature_test_cxx_relaxed_constexpr "${GNU50_CXX14}")
+set(_cmake_feature_test_cxx_aggregate_default_initializers "${GNU50_CXX14}")
# GNU 4.9 in c++14 mode sets __cplusplus to 201300L, so don't test for the
# correct value of it below.