From 216192143e35475f5009111809e599b89d7177d3 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 1 Nov 2022 18:54:52 +0000 Subject: Ladybird: Clean up linked libraries - Add Qt::Core, Qt::Gui, LibGfx, LibIPC, and LibJS to the ladybird target, remove LibGL, LibSoftGPU, and LibWebSocket - Add LibJS to the WebContent target, remove LibWebView - Order them properly :^) Regressed in https://github.com/SerenityOS/serenity/pull/15746. Fixes #108. --- Ladybird/CMakeLists.txt | 3 +-- Ladybird/WebContent/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'Ladybird') diff --git a/Ladybird/CMakeLists.txt b/Ladybird/CMakeLists.txt index 7fa52471d0..03bffa1a58 100644 --- a/Ladybird/CMakeLists.txt +++ b/Ladybird/CMakeLists.txt @@ -82,8 +82,7 @@ set(SOURCES qt_add_executable(ladybird ${SOURCES} MANUAL_FINALIZATION ) -#target_link_libraries(ladybird PRIVATE Qt::Widgets Qt::Network LibWeb LibGUI LibWeb LibWebView LibGL LibSoftGPU LibMain) -target_link_libraries(ladybird PRIVATE Qt::Widgets Qt::Network LibWeb LibWebSocket LibGUI LibWebView LibGL LibSoftGPU LibMain) +target_link_libraries(ladybird PRIVATE Qt::Core Qt::Gui Qt::Network Qt::Widgets LibCore LibGfx LibGUI LibIPC LibJS LibMain LibWeb LibWebView) target_include_directories(ladybird PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) target_include_directories(ladybird PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Applications/) diff --git a/Ladybird/WebContent/CMakeLists.txt b/Ladybird/WebContent/CMakeLists.txt index 1b174ebbe6..99d752ddc8 100644 --- a/Ladybird/WebContent/CMakeLists.txt +++ b/Ladybird/WebContent/CMakeLists.txt @@ -20,4 +20,4 @@ qt_add_executable(WebContent ${WEBCONTENT_SOURCES}) target_include_directories(WebContent PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Services/) target_include_directories(WebContent PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..) -target_link_libraries(WebContent PRIVATE Qt::Core Qt::Network Qt::Gui LibCore LibIPC LibGfx LibWebView LibWebSocket LibWeb LibMain) +target_link_libraries(WebContent PRIVATE Qt::Core Qt::Gui Qt::Network LibCore LibGfx LibIPC LibJS LibMain LibWeb LibWebSocket) -- cgit v1.2.3