From bd307e3bda384be6bd4d4cfda80db612c1ba80b5 Mon Sep 17 00:00:00 2001 From: Kjell Hedstrom Date: Mon, 11 Dec 2023 21:43:34 -0700 Subject: [PATCH] ... --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 10d8961..0e72914 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,7 @@ endif() # change to c++20 in version 2.0 if (MSVC) else() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wunused -std=c++2a -pthread -D_GLIBCXX_USE_NANOSLEEP") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wunused -std=c++17 -pthread -D_GLIBCXX_USE_NANOSLEEP") endif() if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")