diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt index 92678919074..dda1029e22a 100644 --- a/3rdparty/CMakeLists.txt +++ b/3rdparty/CMakeLists.txt @@ -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()