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()