Explorar o código

qt: add network components when using discord

Nguyen Marc %!s(int64=2) %!d(string=hai) anos
pai
achega
b1a7bbd458
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      CMakeLists.txt

+ 3 - 0
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)