summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2021-05-08 10:38:10 (GMT)
committerBrad King <brad.king@kitware.com>2021-05-10 14:19:13 (GMT)
commit05f8c8178dabe3ca8080af0f12ff578cd02971b8 (patch)
tree514e390944b644c57e6249e017ab0a1cce378bb0 /Modules
parentb2f1345aaf5114b897d1cb15453a0dd12af269c9 (diff)
downloadCMake-05f8c8178dabe3ca8080af0f12ff578cd02971b8.zip
CMake-05f8c8178dabe3ca8080af0f12ff578cd02971b8.tar.gz
CMake-05f8c8178dabe3ca8080af0f12ff578cd02971b8.tar.bz2
GNU: C++17 default version
Changed in GCC commit 0801f419440c14f6772b28f763ad7d40f7f7a580, released in 11.1.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/GNU-CXX.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/GNU-CXX.cmake b/Modules/Compiler/GNU-CXX.cmake
index 758d3c7..d7318ea 100644
--- a/Modules/Compiler/GNU-CXX.cmake
+++ b/Modules/Compiler/GNU-CXX.cmake
@@ -66,4 +66,4 @@ if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.0)
set(CMAKE_CXX20_EXTENSION_COMPILE_OPTION "-std=gnu++2a")
endif()
-__compiler_check_default_language_standard(CXX 3.4 98 6.0 14)
+__compiler_check_default_language_standard(CXX 3.4 98 6.0 14 11.1 17)