Add required dependencies of cocoa GL example for linking.
authorJosh Matthews <josh@joshmatthews.net>
Mon, 10 Aug 2020 16:18:31 +0000 (16:18 +0000)
committerJosh Matthews <josh@joshmatthews.net>
Mon, 10 Aug 2020 16:18:31 +0000 (16:18 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/782>

tests/examples/gl/cocoa/meson.build

index 2a5ceb7..76b406e 100644 (file)
@@ -1,8 +1,9 @@
-
 if host_system == 'darwin'
+  appkit_dep = dependency('appleframeworks', modules : ['AppKit'], required : true)
+
   executable('cocoa-videooverlay', 'cocoa-videooverlay.m',
     objc_args : [gst_plugins_base_args],
     include_directories: [configinc],
-    dependencies : [gstgl_dep,],
+    dependencies : [gstgl_dep, corefoundation_dep, appkit_dep],
     install: false)
 endif