Skip to content
Snippets Groups Projects
Commit 8608bf20 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

cmake: switch to C++20 standard

parent 2f7e8f77
No related branches found
No related tags found
1 merge request!157C++20 base
......@@ -6,7 +6,8 @@ if(NOT ${CMAKE_CXX_COMPILER_ID} MATCHES "(Clang|GNU)")
message(WARNING "Compiler ${CMAKE_CXX_COMPILER_ID} may not be supported.")
endif ()
 
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
add_compile_options(-Wno-ambiguous-reversed-operator) #FIXME warning in compare operators class that is supposed to be removed after the transition to C++20 three way comparison is finished
set(CXX_STANDARD_REQUIRED ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment