mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
CMake: Fix building with AppleClang compiler
This commit is contained in:
committed by
Linus Groh
parent
8ae0794584
commit
d142ca4c85
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user