From 68b5b23b3bd948ec15f2ebed2154db8ab50f66e9 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 31 Jan 2015 21:16:12 +0100 Subject: 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. --- Modules/Compiler/GNU-CXX-FeatureTests.cmake | 2 ++ 1 file changed, 2 insertions(+) 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. -- cgit v0.12