Only use libsoundio on Windows or macOS
This commit is contained in:
parent
d7071cb67f
commit
16bb4a148e
2 changed files with 1 additions and 15 deletions
14
app/app.pro
14
app/app.pro
|
|
@ -59,20 +59,6 @@ unix:!macx {
|
||||||
CONFIG += link_pkgconfig
|
CONFIG += link_pkgconfig
|
||||||
PKGCONFIG += openssl sdl2 SDL2_ttf opus
|
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) {
|
packagesExist(libavcodec) {
|
||||||
PKGCONFIG += libavcodec libavutil
|
PKGCONFIG += libavcodec libavutil
|
||||||
CONFIG += ffmpeg
|
CONFIG += ffmpeg
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ win32:!winrt {
|
||||||
SUBDIRS += AntiHooking
|
SUBDIRS += AntiHooking
|
||||||
app.depends += AntiHooking
|
app.depends += AntiHooking
|
||||||
}
|
}
|
||||||
!winrt {
|
!winrt:win32|macx {
|
||||||
SUBDIRS += soundio
|
SUBDIRS += soundio
|
||||||
app.depends += soundio
|
app.depends += soundio
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue