diff options
author | vampiric_x <vampiric_x@citron-emu.org> | 2025-01-18 02:16:13 +0100 |
---|---|---|
committer | vampiric_x <vampiric_x@citron-emu.org> | 2025-01-18 02:16:13 +0100 |
commit | 07b949025ff23e986f399ae6cbb907e064239ae4 (patch) | |
tree | 1c499121d57e083d490d1103e68a9b88d018ade1 | |
parent | 913cc27e3a74640c749b25de5f5cd2f5b018be06 (diff) |
Add QT Network package
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/citron/CMakeLists.txt | 4 |
2 files changed, 5 insertions, 1 deletions
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() |