From 8b3a5d0b968a9509ac611fb5a1590a2b02e9c01c Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Tue, 8 Oct 2024 07:19:26 -0400 Subject: [PATCH] UI/Qt: Remove Qt networking linkage from WebContent/WebWorker Missed in commit 1b324f3ae11d4f5750d89183f97bb3b3b2b4f801. Note that the UI process still links Qt::Network, as it uses that infra for autocomplete queries currently. --- Ladybird/WebContent/CMakeLists.txt | 2 +- Ladybird/WebWorker/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Ladybird/WebContent/CMakeLists.txt b/Ladybird/WebContent/CMakeLists.txt index 31a45ea1ae2..58c734ff38f 100644 --- a/Ladybird/WebContent/CMakeLists.txt +++ b/Ladybird/WebContent/CMakeLists.txt @@ -48,7 +48,7 @@ if (ENABLE_QT) ../Qt/StringUtils.cpp main.cpp ) - target_link_libraries(WebContent PRIVATE Qt::Core Qt::Network) + target_link_libraries(WebContent PRIVATE Qt::Core) target_compile_definitions(WebContent PRIVATE HAVE_QT=1) if (NOT HAVE_PULSEAUDIO) diff --git a/Ladybird/WebWorker/CMakeLists.txt b/Ladybird/WebWorker/CMakeLists.txt index fab4399039b..3bba3a51b3e 100644 --- a/Ladybird/WebWorker/CMakeLists.txt +++ b/Ladybird/WebWorker/CMakeLists.txt @@ -32,7 +32,7 @@ if (ENABLE_QT) ../Qt/StringUtils.cpp main.cpp ) - target_link_libraries(WebWorker PRIVATE Qt::Core Qt::Network) + target_link_libraries(WebWorker PRIVATE Qt::Core) target_link_libraries(WebWorker PRIVATE webworkerservice LibWebSocket) target_compile_definitions(WebWorker PRIVATE HAVE_QT=1)