Commit 38c3d4ca authored by Matthew Waters's avatar Matthew Waters 🐨

applemedia: add the '-fobjc-arc' for darwin/ios

We use ARC so we need to signal that to the compiler.
parent ee108d0e
Pipeline #42953 failed with stages
in 126 minutes and 21 seconds
......@@ -23,6 +23,15 @@ if not ['darwin', 'ios'].contains(host_system) or applemedia_option.disabled()
if ['darwin', 'ios'].contains(host_system)
objc = meson.get_compiler('objc')
if not objc.has_argument('-fobjc-arc')
error('ARC is required for building')
applemedia_objc_args += ['-fobjc-arc']
applemedia_frameworks = []
corefoundation_dep = dependency('CoreFoundation', required : applemedia_option)
coremedia_dep = dependency('CoreMedia', required : applemedia_option)
Markdown is supported
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