summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-09-01 21:48:31 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-09-01 21:48:54 +0530
commit0146ad219e8855fb7fe128632f3168e3b44ca9ef (patch)
tree63b75d74b514e21cfb477e7667722c888303f204
parentcea5e3fcdb96deabd6cf6f7688de986a2512fdc3 (diff)
meson: Fix applemedia dependencies on iOS
These were accidentally not being found because they were incorrectly specified.
-rw-r--r--sys/applemedia/meson.build6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/applemedia/meson.build b/sys/applemedia/meson.build
index 71cdb5dc5..819146f22 100644
--- a/sys/applemedia/meson.build
+++ b/sys/applemedia/meson.build
@@ -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'