aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-14 09:58:33 -0400
committerGitHub <noreply@github.com>2023-10-14 09:58:33 -0400
commit1a4abd184f8085f29a18453bdc4aabb3c038907a (patch)
treea7c5f8fe4070f34d9433ad0576a7be6bc04c7488 /CMakeLists.txt
parent9524d7034ccc7a048b7dfc1c72b4ba368ad7759b (diff)
parent63c5340cc4c64e81056f75aaffcca38f5235441f (diff)
Merge pull request #11780 from Darkness4/master
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)