Skip to content

Commit

Permalink
chore: move to C++20
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
narnaud committed Jun 17, 2024
1 parent 523f71b commit 53ab0a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 53ab0a3

Please sign in to comment.