From ae1a6815b6e2c0a45df51e994b75f9005e1794fe Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 30 Nov 2016 15:25:01 -0500 Subject: Features: Add infrastructure for C++ 17 language standard Issue: #16468 --- Modules/CMakeCXXCompilerId.cpp.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Modules/CMakeCXXCompilerId.cpp.in') diff --git a/Modules/CMakeCXXCompilerId.cpp.in b/Modules/CMakeCXXCompilerId.cpp.in index 3e5c0fcffc..9aa096dbb4 100644 --- a/Modules/CMakeCXXCompilerId.cpp.in +++ b/Modules/CMakeCXXCompilerId.cpp.in @@ -28,7 +28,9 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; @CMAKE_CXX_COMPILER_ID_ERROR_FOR_TEST@ const char* info_language_dialect_default = "INFO" ":" "dialect_default[" -#if __cplusplus >= 201402L +#if __cplusplus > 201402L + "17" +#elif __cplusplus >= 201402L "14" #elif __cplusplus >= 201103L "11" -- cgit v1.2.1