mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 13:44:17 +00:00
Exclude libsoundio from Linux build
This commit is contained in:
parent
5d84ab4a47
commit
1fc63a6529
2 changed files with 3 additions and 3 deletions
|
@ -52,7 +52,7 @@ macx {
|
|||
}
|
||||
|
||||
unix:!macx {
|
||||
CONFIG += link_pkgconfig soundio
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG += openssl sdl2 opus
|
||||
|
||||
# For libsoundio
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "../session.h"
|
||||
#include "renderers/renderer.h"
|
||||
|
||||
#ifndef Q_OS_LINUX
|
||||
#ifdef HAVE_SOUNDIO
|
||||
#include "renderers/soundioaudiorenderer.h"
|
||||
#else
|
||||
#include "renderers/sdl.h"
|
||||
|
@ -11,7 +11,7 @@
|
|||
|
||||
IAudioRenderer* Session::createAudioRenderer()
|
||||
{
|
||||
#ifndef Q_OS_LINUX
|
||||
#ifdef HAVE_SOUNDIO
|
||||
return new SoundIoAudioRenderer();
|
||||
#else
|
||||
return new SdlAudioRenderer();
|
||||
|
|
Loading…
Reference in a new issue