Commit 55d05ad0 authored by Vladimir Stoiakin's avatar Vladimir Stoiakin Committed by Adrien Béraud
Browse files

meson: fix support of coreaudio on ios

Change-Id: Ib5505badbef60a8c0832495589728de298f83607
parent 05f44af9
......@@ -176,10 +176,18 @@ if conf.get('HAVE_PORTAUDIO') == 1
endif
if conf.get('HAVE_COREAUDIO') == 1
libjami_sources += files(
'media/audio/coreaudio/osx/audiodevice.cpp',
'media/audio/coreaudio/osx/corelayer.cpp'
)
if meson.get_compiler('cpp').compiles('''#import <TargetConditionals.h>
#if TARGET_OS_IPHONE == 0
#error This is not an IPHONE
#endif''')
libjami_sources += files(
'media/audio/coreaudio/ios/corelayer.mm'
)
else
libjami_sources += files(
'media/audio/coreaudio/osx/audiodevice.cpp',
'media/audio/coreaudio/osx/corelayer.cpp'
)
endif
if conf.get('HAVE_LIBUPNP') == 1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment