mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-02 21:11:17 +12:00
Update SDL2 + Better way to use sys packages on linux
This commit is contained in:
parent
d27935a1bd
commit
fe2855168d
29 changed files with 443 additions and 631 deletions
13
dependencies/vcpkg_overlay_ports/sdl2/deps.patch
vendored
Normal file
13
dependencies/vcpkg_overlay_ports/sdl2/deps.patch
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake
|
||||
index 65a98efbe..2f99f28f1 100644
|
||||
--- a/cmake/sdlchecks.cmake
|
||||
+++ b/cmake/sdlchecks.cmake
|
||||
@@ -352,7 +352,7 @@ endmacro()
|
||||
# - HAVE_SDL_LOADSO opt
|
||||
macro(CheckLibSampleRate)
|
||||
if(SDL_LIBSAMPLERATE)
|
||||
- find_package(SampleRate QUIET)
|
||||
+ find_package(SampleRate CONFIG REQUIRED)
|
||||
if(SampleRate_FOUND AND TARGET SampleRate::samplerate)
|
||||
set(HAVE_LIBSAMPLERATE TRUE)
|
||||
set(HAVE_LIBSAMPLERATE_H TRUE)
|
Loading…
Add table
Add a link
Reference in a new issue