Commit 34233baa authored by Justin Kim's avatar Justin Kim

osxvideo: meson: Add dependencies by using appleframeworks

Otherwise, it fails to link.

gst-build#13
parent 172d14ac
......@@ -5,8 +5,8 @@ if host_system != 'darwin'
subdir_done()
endif
osxvideo_opengl_dep = dependency('OpenGL', required : get_option('osxvideo'))
osxvideo_cocoa_dep = dependency('Cocoa', required : get_option('osxvideo'))
osxvideo_opengl_dep = dependency('appleframeworks', modules : ['OpenGL'], required : get_option('osxvideo'))
osxvideo_cocoa_dep = dependency('appleframeworks', modules : ['Cocoa'], required : get_option('osxvideo'))
have_objc = add_languages('objc', required : get_option('osxvideo'))
if have_objc and osxvideo_opengl_dep.found() and osxvideo_cocoa_dep.found()
......
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