qt: add network components when using discord

master
Nguyen Marc 2023-10-14 01:01:02 +07:00
parent a8bd02acd8
commit b1a7bbd458
No known key found for this signature in database
GPG Key ID: 529D0EC3EA377F13
1 changed files with 3 additions and 0 deletions

@ -360,6 +360,9 @@ function(set_yuzu_qt_components)
if (ENABLE_QT_TRANSLATION)
list(APPEND YUZU_QT_COMPONENTS2 LinguistTools)
endif()
if (USE_DISCORD_PRESENCE)
list(APPEND YUZU_QT_COMPONENTS2 Network)
endif()
set(YUZU_QT_COMPONENTS ${YUZU_QT_COMPONENTS2} PARENT_SCOPE)
endfunction(set_yuzu_qt_components)