mirror of
https://github.com/PabloMK7/citra.git
synced 2025-12-19 05:38:48 +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
|
|
@ -269,6 +269,10 @@ target_link_libraries(citra-qt PRIVATE audio_core common core input_common netwo
|
|||
target_link_libraries(citra-qt PRIVATE Boost::boost glad nihstro-headers Qt5::Widgets Qt5::Multimedia Qt5::Concurrent)
|
||||
target_link_libraries(citra-qt PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
||||
|
||||
if (UNIX AND NOT APPLE)
|
||||
target_link_libraries(citra-qt PRIVATE Qt5::DBus)
|
||||
endif()
|
||||
|
||||
target_compile_definitions(citra-qt PRIVATE
|
||||
# Use QStringBuilder for string concatenation to reduce
|
||||
# the overall number of temporary strings created.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue