mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-09 12:20:04 +00:00
citra_qt: Prevent OS sleep on Linux when a game is running (#6249)
This commit is contained in:
parent
343717e683
commit
54385a54eb
4 changed files with 79 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue