From 07b949025ff23e986f399ae6cbb907e064239ae4 Mon Sep 17 00:00:00 2001 From: vampiric_x Date: Sat, 18 Jan 2025 02:16:13 +0100 Subject: [PATCH] Add QT Network package --- CMakeLists.txt | 2 +- src/citron/CMakeLists.txt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a922a4f3c..0d8706d5c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -422,7 +422,7 @@ if (ENABLE_QT) download_qt(6.7.3) endif() - find_package(Qt6 REQUIRED COMPONENTS Widgets Multimedia Concurrent) + find_package(Qt6 REQUIRED COMPONENTS Widgets Multimedia Concurrent Network) if (UNIX AND NOT APPLE) find_package(Qt6 REQUIRED COMPONENTS DBus) diff --git a/src/citron/CMakeLists.txt b/src/citron/CMakeLists.txt index 5a1a8c4ca..0971f9d50 100644 --- a/src/citron/CMakeLists.txt +++ b/src/citron/CMakeLists.txt @@ -435,6 +435,10 @@ if (CITRON_USE_QT_WEB_ENGINE) target_compile_definitions(citron PRIVATE -DCITRON_USE_QT_WEB_ENGINE) endif () +target_link_libraries(citron PRIVATE PRIVATE + Qt::Network +) + if(UNIX AND NOT APPLE) install(TARGETS citron) endif()