This commit is contained in:
2026-03-10 22:06:38 +01:00
parent aaa753859d
commit 72f9bd4579
5 changed files with 79 additions and 1 deletions

View File

@@ -14,6 +14,11 @@ FetchContent_Declare(
GIT_TAG release-2.30.3
)
# Work around PipeWire API mismatch on some Linux distributions.
# Disable PipeWire backend in SDL; PulseAudio/ALSA backends remain available.
set(SDL_PIPEWIRE OFF CACHE BOOL "Disable SDL PipeWire backend" FORCE)
set(SDL_PIPEWIRE_SHARED OFF CACHE BOOL "Disable dynamic PipeWire loading in SDL" FORCE)
# Make SDL available
FetchContent_MakeAvailable(SDL2)