Only use libsoundio on Windows or macOS

This commit is contained in:
Cameron Gutman 2020-07-08 18:57:27 -05:00
parent d7071cb67f
commit 16bb4a148e
2 changed files with 1 additions and 15 deletions

View file

@ -59,20 +59,6 @@ unix:!macx {
CONFIG += link_pkgconfig
PKGCONFIG += openssl sdl2 SDL2_ttf opus
# SLAudio is used on Steam Link
!config_SL {
CONFIG += soundio
}
soundio {
packagesExist(libpulse) {
PKGCONFIG += libpulse
}
packagesExist(alsa) {
PKGCONFIG += alsa
}
}
packagesExist(libavcodec) {
PKGCONFIG += libavcodec libavutil
CONFIG += ffmpeg

View file

@ -11,7 +11,7 @@ win32:!winrt {
SUBDIRS += AntiHooking
app.depends += AntiHooking
}
!winrt {
!winrt:win32|macx {
SUBDIRS += soundio
app.depends += soundio
}