Meta: Remove obsolete -fconcepts CFLAG

The GCC documentation says that since it's officially a part of C++20,
this flag does nothing. Clang, however, does complain that it does not
recognize it, so it's better to just remove it.
This commit is contained in:
Daniel Bertalan 2021-07-12 19:51:19 +02:00 committed by Andreas Kling
parent 11a945a499
commit 7f2eb2f332
Notes: sideshowbarker 2024-07-18 09:04:44 +09:00

View file

@ -101,7 +101,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
add_compile_options(-Wno-literal-suffix)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
add_compile_options(-fconcepts)
add_compile_options(-Wno-literal-suffix)
elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang$")
add_compile_options(-Wno-overloaded-virtual -Wno-user-defined-literals)
endif()