aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorNguyen Marc <[email protected]>2023-10-14 01:01:02 +0200
committerNguyen Marc <[email protected]>2023-10-14 01:01:02 +0200
commitb1a7bbd4588957b33500c42d7fab7b4ffe16cfb8 (patch)
tree1c9a71f1128dbb82ec25e5a563c435376e81783a /CMakeLists.txt
parenta8bd02acd8718fc371deea139ec1abb57c63ca93 (diff)
downloadyuzu-mainline-b1a7bbd4588957b33500c42d7fab7b4ffe16cfb8.tar.gz
yuzu-mainline-b1a7bbd4588957b33500c42d7fab7b4ffe16cfb8.zip
qt: add network components when using discord
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
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)