mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
osxvideo: meson: Add dependencies by using appleframeworks
Otherwise, it fails to link. gst-build#13
This commit is contained in:
parent
172d14acef
commit
34233baae1
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue