cmake: Bump C++ to 20.

This commit is contained in:
Lubosz Sarnecki 2024-08-03 14:32:53 +02:00
parent d69f90635f
commit 426c1519fd

View file

@ -1,5 +1,5 @@
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG")
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if (NOT "${CMAKE_SIZEOF_VOID_P}" EQUAL "8")