Set standard to c++23 for non-MSVC compilers

This commit is contained in:
Dentomologist
2026-01-03 13:03:27 -08:00
parent ba32260c29
commit cc2db2ce15

View File

@@ -16,7 +16,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Windows")
endif()
if (NOT MSVC)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
endif()