[linux] add defaults for audio backends

This commit is contained in:
akallabeth 2023-10-10 20:00:46 +02:00 committed by akallabeth
parent f1eaa01de2
commit 4a2dd167d7

View File

@ -172,6 +172,15 @@ if (IOS)
include(ConfigOptionsiOS)
endif(IOS)
if (UNIX AND NOT APPLE)
find_package(ALSA)
find_package(PulseAudio)
find_package(OSS)
option(WITH_ALSA "use alsa for sound" ${ALSA_FOUND})
option(WITH_PULSE "use alsa for sound" ${PULSE_FOUND})
option(WITH_OSS "use alsa for sound" ${OSS_FOUND})
endif()
option(BUILD_FUZZERS "Use BUILD_FUZZERS to build fuzzing tests" OFF)
if (BUILD_FUZZERS)