1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:37:44 +00:00

CMake: Fix building with AppleClang compiler

This commit is contained in:
Carlos César Neves Enumo 2021-04-30 00:04:59 -03:00 committed by Linus Groh
parent 8ae0794584
commit d142ca4c85

View file

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