Merge topic 'GNU-5-CXX14'

68b5b23b Features: Update GNU 5.0 C++14 features.
This commit is contained in:
Brad King 2015-02-03 09:46:18 -05:00 committed by CMake Topic Stage
commit 1acf36241f
1 changed files with 2 additions and 0 deletions

View File

@ -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.