diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f552751aed..f5e1d8f7ba2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,17 +41,7 @@ list(APPEND CMAKE_MODULE_PATH "${LADYBIRD_SOURCE_DIR}/Meta/CMake") include(UI/cmake/EnableLagom.cmake) include(lagom_options NO_POLICY_SCOPE) -include(lagom_compile_options) - -if (HAIKU) - # Haiku needs some extra compile definitions to make important stuff in its headers available. - add_compile_definitions(_DEFAULT_SOURCE) - add_compile_definitions(_GNU_SOURCE) - add_compile_definitions(__USE_GNU) -endif() - -add_cxx_compile_options(-Wno-expansion-to-defined) -add_cxx_compile_options(-Wno-user-defined-literals) +include(compile_options) # We need to find OpenSSL in order to link it explicitly with all targets. find_package(OpenSSL REQUIRED) diff --git a/Documentation/AdvancedBuildInstructions.md b/Documentation/AdvancedBuildInstructions.md index 56988af7405..952e67eabcf 100644 --- a/Documentation/AdvancedBuildInstructions.md +++ b/Documentation/AdvancedBuildInstructions.md @@ -147,10 +147,10 @@ If you do run into such an error, the rest of this section explains how to deal ```diff $ patch -p1 <