mirror of
https://codeberg.org/yuzu-emu/yuzu.git
synced 2025-12-16 12:09:04 +00:00
Add QT Network package
This commit is contained in:
parent
fbe08d0b73
commit
07a40fef9c
@ -436,7 +436,7 @@ if (ENABLE_QT)
|
|||||||
download_qt(6.7.3)
|
download_qt(6.7.3)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(Qt6 REQUIRED COMPONENTS Widgets Multimedia Concurrent)
|
find_package(Qt6 REQUIRED COMPONENTS Widgets Multimedia Concurrent Network)
|
||||||
|
|
||||||
if (UNIX AND NOT APPLE)
|
if (UNIX AND NOT APPLE)
|
||||||
find_package(Qt6 REQUIRED COMPONENTS DBus)
|
find_package(Qt6 REQUIRED COMPONENTS DBus)
|
||||||
|
|||||||
@ -436,6 +436,10 @@ if (YUZU_USE_QT_WEB_ENGINE)
|
|||||||
target_compile_definitions(yuzu PRIVATE -DYUZU_USE_QT_WEB_ENGINE)
|
target_compile_definitions(yuzu PRIVATE -DYUZU_USE_QT_WEB_ENGINE)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
target_link_libraries(yuzu PRIVATE PRIVATE
|
||||||
|
Qt::Network
|
||||||
|
)
|
||||||
|
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
install(TARGETS yuzu)
|
install(TARGETS yuzu)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user