From c91978baa67e44f33bc1b0c1d1988b07147bdcda Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sat, 22 Oct 2022 23:35:55 +0200 Subject: Ladybird: Use Browser's CookieJar.{cpp,h} There are no custom changes for Ladybird in the current copies of those files, so we just need to ensure to keep Ladybird up to date for any changes made upstream. This fixes a build issue introduced by https://github.com/SerenityOS/serenity/pull/15736. --- Ladybird/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Ladybird/CMakeLists.txt') diff --git a/Ladybird/CMakeLists.txt b/Ladybird/CMakeLists.txt index 0e84edfd7d..59b8702020 100644 --- a/Ladybird/CMakeLists.txt +++ b/Ladybird/CMakeLists.txt @@ -63,10 +63,12 @@ set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) find_package(Qt6 REQUIRED COMPONENTS Core Widgets Network) +set(BROWSER_SOURCE_DIR ${SERENITY_SOURCE_DIR}/Userland/Applications/Browser/) + set(SOURCES + ${BROWSER_SOURCE_DIR}/CookieJar.cpp BrowserWindow.cpp ConsoleWidget.cpp - CookieJar.cpp History.cpp ModelTranslator.cpp Settings.cpp @@ -84,6 +86,7 @@ qt_add_executable(ladybird ${SOURCES} target_link_libraries(ladybird PRIVATE Qt::Widgets Qt::Network LibWeb LibWebSocket LibGUI LibWebView LibGL LibSoftGPU LibMain) target_include_directories(ladybird PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) +target_include_directories(ladybird PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Applications/) target_include_directories(ladybird PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Services/) set_target_properties(ladybird PROPERTIES -- cgit v1.2.3