From b1a7bbd4588957b33500c42d7fab7b4ffe16cfb8 Mon Sep 17 00:00:00 2001 From: Nguyen Marc Date: Sat, 14 Oct 2023 01:01:02 +0200 Subject: qt: add network components when using discord --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3