Add QT Network package

This commit is contained in:
vampiric_x 2025-01-18 02:16:13 +01:00 committed by Mike Lothian
parent fbe08d0b73
commit 07a40fef9c
2 changed files with 5 additions and 1 deletions

View File

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

View File

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