summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvampiric_x <vampiric_x@citron-emu.org>2025-01-18 02:16:13 +0100
committerMike Lothian <mike@fireburn.co.uk>2025-05-11 12:17:03 +0100
commit07a40fef9c4897ace0f0ed0454e631ae0b561df5 (patch)
treed9b3a45d2bfb760523d4e99c04cd75af697d33d7
parentfbe08d0b7338854240d007de9eafb9964f2d0f6b (diff)
Add QT Network package
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/yuzu/CMakeLists.txt4
2 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2364a66d8..29f267806 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -436,7 +436,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/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index a8357f7e0..a1a7f0f60 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -436,6 +436,10 @@ if (YUZU_USE_QT_WEB_ENGINE)
target_compile_definitions(yuzu PRIVATE -DYUZU_USE_QT_WEB_ENGINE)
endif ()
+target_link_libraries(yuzu PRIVATE PRIVATE
+ Qt::Network
+)
+
if(UNIX AND NOT APPLE)
install(TARGETS yuzu)
endif()