yuzu qt: Disable the screensaver with SDL2
Disables the screen saver when a game boots using SDL2 so that it works on any supported platform.
This commit is contained in:
parent
40c8a8c627
commit
604b6d1210
2 changed files with 23 additions and 1 deletions
|
|
@ -299,6 +299,11 @@ if (YUZU_USE_BUNDLED_QT)
|
|||
copy_yuzu_Qt5_deps(yuzu)
|
||||
endif()
|
||||
|
||||
if (ENABLE_SDL2)
|
||||
target_link_libraries(yuzu PRIVATE SDL2)
|
||||
target_compile_definitions(yuzu PRIVATE HAVE_SDL2)
|
||||
endif()
|
||||
|
||||
if (MSVC)
|
||||
include(CopyYuzuSDLDeps)
|
||||
include(CopyYuzuFFmpegDeps)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue