Set CMAKE_CXX_STANDARD 20 to be able to use concept keyword

This commit is contained in:
Magne Sjaastad 2024-04-01 17:18:37 +02:00
parent 8f6388e2d3
commit d0a5770626

View File

@ -19,7 +19,7 @@ if(MSVC)
add_definitions(-D_WIN32_WINNT=0x600) add_definitions(-D_WIN32_WINNT=0x600)
endif() endif()
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 20)
add_definitions(-D_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING) add_definitions(-D_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING)