mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 10:05:32 +00:00
CMake: Fix building with AppleClang compiler
This commit is contained in:
parent
8ae0794584
commit
d142ca4c85
|
@ -81,7 +81,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
|||
add_compile_options(-Wno-literal-suffix)
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
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)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue