From c223b65a69055c86a3de9cee2e378b775377a25f Mon Sep 17 00:00:00 2001 From: Niklas Poslovski Date: Tue, 5 Sep 2023 20:57:20 +0200 Subject: [PATCH] Ladybird: Fix the include of use_linker in CMakeLists.txt --- Ladybird/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Ladybird/CMakeLists.txt b/Ladybird/CMakeLists.txt index a007f56c40a..2ab90dfb682 100644 --- a/Ladybird/CMakeLists.txt +++ b/Ladybird/CMakeLists.txt @@ -27,8 +27,6 @@ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) -include(use_linker) - if (ENABLE_ADDRESS_SANITIZER) add_compile_options(-fsanitize=address -fno-omit-frame-pointer) add_link_options(-fsanitize=address) @@ -63,6 +61,7 @@ if (LADYBIRD_IS_TOP_LEVEL) ) list(APPEND CMAKE_MODULE_PATH "${SERENITY_SOURCE_DIR}/Meta/CMake") include(cmake/EnableLagom.cmake) + include(use_linker) include(lagom_compile_options) include(lagom_install_options) else()