diff --git a/CMakeLists.txt b/CMakeLists.txt index 2364a66d8d..29f2678060 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 a8357f7e0e..a1a7f0f60d 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()