diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/sdl2/alsa-dep-fix.patch | |
Diffstat (limited to 'vcpkg/ports/sdl2/alsa-dep-fix.patch')
| -rw-r--r-- | vcpkg/ports/sdl2/alsa-dep-fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/sdl2/alsa-dep-fix.patch b/vcpkg/ports/sdl2/alsa-dep-fix.patch new file mode 100644 index 0000000..5ee6eef --- /dev/null +++ b/vcpkg/ports/sdl2/alsa-dep-fix.patch @@ -0,0 +1,14 @@ +diff --git a/SDL2Config.cmake.in b/SDL2Config.cmake.in +index cc8bcf26d..ead829767 100644 +--- a/SDL2Config.cmake.in ++++ b/SDL2Config.cmake.in +@@ -35,7 +35,8 @@ include("${CMAKE_CURRENT_LIST_DIR}/sdlfind.cmake") + + set(SDL_ALSA @SDL_ALSA@) + set(SDL_ALSA_SHARED @SDL_ALSA_SHARED@) +-if(SDL_ALSA AND NOT SDL_ALSA_SHARED AND TARGET SDL2::SDL2-static) ++if(SDL_ALSA) ++ set(CMAKE_REQUIRE_FIND_PACKAGE_ALSA 1) + sdlFindALSA() + endif() + unset(SDL_ALSA) |