mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
cmake: Hotfix the broken build
This regressed in #6000 and started complaining about bad literal suffixes, so here's a quick and dirty partial revert to make things build again.
This commit is contained in:
parent
9f656b6fa9
commit
d454926e0f
Notes:
sideshowbarker
2024-07-18 20:59:24 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/d454926e0fc
1 changed files with 6 additions and 0 deletions
|
@ -71,6 +71,12 @@ set(CMAKE_CXX_STANDARD 20)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
|
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||||
|
add_compile_options(-fconcepts -Wno-literal-suffix)
|
||||||
|
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||||
|
add_compile_options(-Wno-overloaded-virtual -Wno-user-defined-literals)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (ENABLE_ALL_THE_DEBUG_MACROS)
|
if (ENABLE_ALL_THE_DEBUG_MACROS)
|
||||||
include(${CMAKE_SOURCE_DIR}/Meta/CMake/all_the_debug_macros.cmake)
|
include(${CMAKE_SOURCE_DIR}/Meta/CMake/all_the_debug_macros.cmake)
|
||||||
endif(ENABLE_ALL_THE_DEBUG_MACROS)
|
endif(ENABLE_ALL_THE_DEBUG_MACROS)
|
||||||
|
|
Loading…
Reference in a new issue