diff options
Diffstat (limited to 'emulators/yuzu/files/patch-CMakeLists.txt')
-rw-r--r-- | emulators/yuzu/files/patch-CMakeLists.txt | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/emulators/yuzu/files/patch-CMakeLists.txt b/emulators/yuzu/files/patch-CMakeLists.txt deleted file mode 100644 index 43638c95a8bc..000000000000 --- a/emulators/yuzu/files/patch-CMakeLists.txt +++ /dev/null @@ -1,35 +0,0 @@ -yuzu (Qt) currently needs SDL for input - ---- CMakeLists.txt.orig 2021-12-06 23:09:30 UTC -+++ CMakeLists.txt -@@ -395,7 +395,10 @@ if (ENABLE_SDL2) - target_include_directories(SDL2 INTERFACE "${SDL2_INCLUDE_DIR}") - elseif (YUZU_USE_EXTERNAL_SDL2) - message(STATUS "Using SDL2 from externals.") -- else() -+ endif() -+endif() -+ -+if (NOT YUZU_USE_BUNDLED_SDL2 AND NOT YUZU_USE_EXTERNAL_SDL2) - find_package(SDL2 2.0.18 REQUIRED) - - # Some installations don't set SDL2_LIBRARIES -@@ -407,7 +410,6 @@ if (ENABLE_SDL2) - include_directories(SYSTEM ${SDL2_INCLUDE_DIRS}) - add_library(SDL2 INTERFACE) - target_link_libraries(SDL2 INTERFACE "${SDL2_LIBRARIES}") -- endif() - endif() - - # Install any missing dependencies with conan install ---- src/input_common/CMakeLists.txt.orig 2021-04-21 21:36:33 UTC -+++ src/input_common/CMakeLists.txt -@@ -62,7 +62,7 @@ else() - ) - endif() - --if (ENABLE_SDL2) -+if (SDL2_FOUND) - target_sources(input_common PRIVATE - sdl/sdl_impl.cpp - sdl/sdl_impl.h |