From 855315cd390ceaa3057b4dfc5248a5014b8c3bdd Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 10 Aug 2020 16:18:31 +0000 Subject: [PATCH] Add required dependencies of cocoa GL example for linking. Part-of: --- tests/examples/gl/cocoa/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/examples/gl/cocoa/meson.build b/tests/examples/gl/cocoa/meson.build index 2a5ceb7019..76b406e4aa 100644 --- a/tests/examples/gl/cocoa/meson.build +++ b/tests/examples/gl/cocoa/meson.build @@ -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