Skip to content

Commit

Permalink
Fix #2199 (#2200)
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 authored Oct 2, 2024
1 parent 8ab4a6d commit 8a9ad35
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions 3rdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,18 @@ if (AX_ENABLE_AUDIO)
set(ALSOFT_BACKEND_OPENSL OFF CACHE BOOL "Enable OpenSL backend" FORCE)
set(OBOE_SOURCE "${oboe_SOURCE_DIR}" CACHE STRING "Source directory for Oboe." FORCE)
endif()
list(APPEND alsoft_opts "ALSOFT_RTKIT OFF")
list(APPEND alsoft_opts "ALSOFT_RTKIT OFF"
"ALSOFT_BACKEND_PIPEWIRE OFF"
"ALSOFT_BACKEND_PULSEAUDIO OFF"
"ALSOFT_BACKEND_ALSA OFF"
"ALSOFT_BACKEND_OSS OFF"
"ALSOFT_BACKEND_SOLARIS OFF"
"ALSOFT_BACKEND_SNDIO OFF"
"ALSOFT_BACKEND_JACK OFF"
"ALSOFT_BACKEND_PORTAUDIO OFF"
"ALSOFT_BACKEND_SDL2 OFF")
set(ALSOFT_RTKIT OFF CACHE BOOL "Enable RTKit support" FORCE)
endif()

if(WINDOWS)
elseif(WINDOWS)
list(APPEND alsoft_opts "ALSOFT_BACKEND_WASAPI ON" "ALSOFT_BACKEND_WAVE OFF" "ALSOFT_BACKEND_DSOUND OFF" "ALSOFT_BACKEND_WINMM OFF")
endif()

Expand Down

0 comments on commit 8a9ad35

Please sign in to comment.