aboutsummaryrefslogtreecommitdiff
path: root/emulators/citra/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/citra/files/patch-CMakeLists.txt')
-rw-r--r--emulators/citra/files/patch-CMakeLists.txt36
1 files changed, 0 insertions, 36 deletions
diff --git a/emulators/citra/files/patch-CMakeLists.txt b/emulators/citra/files/patch-CMakeLists.txt
deleted file mode 100644
index 57c9d442a244..000000000000
--- a/emulators/citra/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-citra-qt currently needs SDL for audio and input
-
---- CMakeLists.txt.orig 2022-09-01 18:37:46 UTC
-+++ CMakeLists.txt
-@@ -71,7 +71,6 @@ endfunction()
- endif()
- endforeach()
- endfunction()
--check_submodules_present()
-
- configure_file(${PROJECT_SOURCE_DIR}/dist/compatibility_list/compatibility_list.qrc
- ${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.qrc
-@@ -168,15 +167,15 @@ if (ENABLE_SDL2)
- else()
- find_package(SDL2 REQUIRED)
- endif()
--
-- if (SDL2_FOUND)
-- # TODO(yuriks): Make FindSDL2.cmake export an IMPORTED library instead
-- add_library(SDL2 INTERFACE)
-- target_link_libraries(SDL2 INTERFACE "${SDL2_LIBRARY}")
-- target_include_directories(SDL2 INTERFACE "${SDL2_INCLUDE_DIR}")
-- endif()
- else()
-- set(SDL2_FOUND NO)
-+ find_package(SDL2)
-+endif()
-+
-+if (SDL2_FOUND)
-+ # TODO(yuriks): Make FindSDL2.cmake export an IMPORTED library instead
-+ add_library(SDL2 INTERFACE)
-+ target_link_libraries(SDL2 INTERFACE "${SDL2_LIBRARY}")
-+ target_include_directories(SDL2 INTERFACE "${SDL2_INCLUDE_DIR}")
- endif()
-
- if (ENABLE_QT)