mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
CMake: Fix building with AppleClang compiler
This commit is contained in:
parent
8ae0794584
commit
d142ca4c85
Notes:
sideshowbarker
2024-07-18 18:53:03 +09:00
Author: https://github.com/pakerwreah 🔰 Commit: https://github.com/SerenityOS/serenity/commit/d142ca4c85f Pull-request: https://github.com/SerenityOS/serenity/pull/6749
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue