summaryrefslogtreecommitdiff
path: root/Ladybird
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-11-01 18:54:52 +0000
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-25 07:58:58 -0700
commit216192143e35475f5009111809e599b89d7177d3 (patch)
tree119436128a38729928c2c7c8c5c6cc66eeeee372 /Ladybird
parent66c69654a6952a663ea77d9ba198cdc5e6d553c5 (diff)
downloadserenity-216192143e35475f5009111809e599b89d7177d3.zip
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.
Diffstat (limited to 'Ladybird')
-rw-r--r--Ladybird/CMakeLists.txt3
-rw-r--r--Ladybird/WebContent/CMakeLists.txt2
2 files changed, 2 insertions, 3 deletions
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)