citra_qt: Prevent OS sleep on Linux when a game is running (#6249)

This commit is contained in:
Tobias
2023-03-23 19:37:10 +01:00
committed by GitHub
parent 343717e683
commit 54385a54eb
4 changed files with 79 additions and 2 deletions

View File

@@ -211,6 +211,10 @@ if (ENABLE_QT)
find_package(Qt5 REQUIRED COMPONENTS Widgets Multimedia Concurrent ${QT_PREFIX_HINT})
if (UNIX AND NOT APPLE)
find_package(Qt5 REQUIRED COMPONENTS DBus ${QT_PREFIX_HINT})
endif()
if (ENABLE_QT_TRANSLATION)
find_package(Qt5 REQUIRED COMPONENTS LinguistTools ${QT_PREFIX_HINT})
endif()