Move to C++20 for non-MSVC compilers

This commit is contained in:
Tillmann Karras
2022-06-11 14:39:04 +01:00
parent 92c7566646
commit d033d92b05
4 changed files with 4 additions and 4 deletions

View File

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