switch to c++20

this will allow us to use more convenience features of the language, and
leave more legacy code behind - also we can use c++20 libraries ;)
This commit is contained in:
Lion Kortlepel
2022-11-13 00:25:06 +01:00
parent 01bcc3d18c
commit 4cc163ea1c
2 changed files with 5 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ endif()
add_subdirectory("deps/sentry-native")
# ------------------------ C++ SETUP ---------------------------------
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
# ------------------------ DEPENDENCIES ------------------------------
message(STATUS "Adding local source dependencies")