From 53ab0a31517aa73d6958e0119142266227430461 Mon Sep 17 00:00:00 2001 From: Nicolas Arnaud-Cormos Date: Mon, 17 Jun 2024 13:47:25 +0200 Subject: [PATCH] chore: move to C++20 Our current CI partially support C++23, but is limited. For example std::unexpected is not supported yet. Revert to using C++20 only for now, until CI is updated. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6db36d41..cb139452 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ project( # Project initialization # ############################################################################## -set(CMAKE_CXX_STANDARD 23) +set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")