Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -176,6 +176,14 @@ if conf.get('HAVE_PORTAUDIO') == 1
endif
if conf.get('HAVE_COREAUDIO') == 1
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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment