Build: Use -fconcepts flag to enable C++20 concepts.

This commit is contained in:
Emanuele Torre 2020-08-01 10:16:56 +02:00 committed by Andreas Kling
parent dff8305138
commit 75a4b1a27e
Notes: sideshowbarker 2024-07-19 04:24:55 +09:00

View file

@ -40,7 +40,7 @@ add_custom_target(check-style
USES_TERMINAL USES_TERMINAL
) )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -std=c++2a -fdiagnostics-color=always") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -std=c++2a -fdiagnostics-color=always -fconcepts")
include_directories(Libraries) include_directories(Libraries)
include_directories(.) include_directories(.)