main: fix wake lock in Flatpak ...

... by using the XDP system
This commit is contained in:
liushuyu 2021-12-21 02:47:24 -07:00
parent d3c26baaf1
commit 68901da65f
4 changed files with 64 additions and 1 deletions

View file

@ -249,7 +249,7 @@ if(ENABLE_QT)
# Check for system Qt on Linux, fallback to bundled Qt
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
if (NOT YUZU_USE_BUNDLED_QT)
find_package(Qt5 ${QT_VERSION} COMPONENTS Widgets)
find_package(Qt5 ${QT_VERSION} COMPONENTS Widgets DBus)
endif()
if (NOT Qt5_FOUND OR YUZU_USE_BUNDLED_QT)
# Check for dependencies, then enable bundled Qt download