mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-11 16:37:52 +00:00
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
62c1d67cc3
commit
c263ca5d71
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