sys: applemedia: meson: Add dependencies by using appleframeworks

gst-build#13
This commit is contained in:
Justin Kim 2018-12-14 12:22:51 +09:00
parent 2ae381e2a3
commit 18c8557836

View file

@ -65,7 +65,7 @@ else
applemedia_objc_args += ['-mmacosx-version-min=10.8'] applemedia_objc_args += ['-mmacosx-version-min=10.8']
cocoa_dep = dependency('Cocoa', required : applemedia_option) cocoa_dep = dependency('Cocoa', required : applemedia_option)
iosurface_dep = dependency('IOSurface', required : applemedia_option) iosurface_dep = dependency('IOSurface', required : applemedia_option)
applemedia_opengl_dep = dependency('OpenGL', required : applemedia_option) applemedia_opengl_dep = dependency('appleframeworks', modules : ['OpenGL'], required : applemedia_option)
applemedia_frameworks += [cocoa_dep, applemedia_opengl_dep, iosurface_dep] applemedia_frameworks += [cocoa_dep, applemedia_opengl_dep, iosurface_dep]
endif endif