mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
meson: Fix applemedia dependencies on iOS
These were accidentally not being found because they were incorrectly specified.
This commit is contained in:
parent
cea5e3fcdb
commit
0146ad219e
1 changed files with 2 additions and 4 deletions
|
@ -23,7 +23,6 @@ if not ['darwin', 'ios'].contains(host_system) or applemedia_option.disabled()
|
|||
subdir_done()
|
||||
endif
|
||||
|
||||
applemedia_deps_found = false
|
||||
applemedia_frameworks = []
|
||||
corefoundation_dep = dependency('CoreFoundation', required : applemedia_option)
|
||||
coremedia_dep = dependency('CoreMedia', required : applemedia_option)
|
||||
|
@ -57,9 +56,8 @@ if host_system == 'ios'
|
|||
]
|
||||
applemedia_objc_args += ['-fobjc-abi-version=2', '-fobjc-legacy-dispatch']
|
||||
|
||||
foundation_dep = dependency('Foundation', required : applemedia_option)
|
||||
coremedia_dep = dependency('AssetsLibrary', required : applemedia_option)
|
||||
applemedia_frameworks += [foundation_dep, coremedia_dep]
|
||||
ios_media_dep = dependency('appleframeworks', modules : ['Foundation', 'AssetsLibrary'], required : applemedia_option)
|
||||
applemedia_frameworks += [ios_media_dep]
|
||||
else
|
||||
applemedia_sources += [
|
||||
'iosurfacememory.c'
|
||||
|
|
Loading…
Reference in a new issue