mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-27 12:37:50 -05: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:
@ -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)
|
||||
|
Reference in New Issue
Block a user