diff options
author | Nguyen Marc <[email protected]> | 2023-10-14 01:01:02 +0200 |
---|---|---|
committer | Nguyen Marc <[email protected]> | 2023-10-14 01:01:02 +0200 |
commit | b1a7bbd4588957b33500c42d7fab7b4ffe16cfb8 (patch) | |
tree | 1c9a71f1128dbb82ec25e5a563c435376e81783a /CMakeLists.txt | |
parent | a8bd02acd8718fc371deea139ec1abb57c63ca93 (diff) | |
download | yuzu-mainline-b1a7bbd4588957b33500c42d7fab7b4ffe16cfb8.tar.gz yuzu-mainline-b1a7bbd4588957b33500c42d7fab7b4ffe16cfb8.zip |
qt: add network components when using discord
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1108e5ae6..166024844 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |