From 1211520ca939e53d6880e213dd38053a08b9589e Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 18 Oct 2020 00:08:38 +0200 Subject: build-system: switch to using C++17 as default C++ dialect Signed-off-by: Berthold Stoeger Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index dbb2995dd..f27ba3c4b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,7 +73,7 @@ add_definitions(-DSUBSURFACE_SOURCE="${SUBSURFACE_SOURCE}") set(CMAKE_C_STANDARD 99) set(CMAKE_C_STANDARD_REQUIRED TRUE) -set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED TRUE) # -- cgit v1.2.3-70-g09d2