mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
6c1dc1b129
The gdkquartz.h include pulls into Apple Obj-C frameworks so the compiler needs to handle the gstgtkhelper library as such. Fixes #518
28 lines
743 B
Meson
28 lines
743 B
Meson
extra_args = []
|
|
if cc.has_argument ('-Wno-parentheses')
|
|
extra_args += '-Wno-parentheses'
|
|
endif
|
|
|
|
if host_system == 'darwin'
|
|
extra_c_args = ['-xobjective-c']
|
|
else
|
|
extra_c_args = []
|
|
endif
|
|
|
|
gstgtkhelper = static_library ('gstgtkhelper',
|
|
['gstgtk.c'],
|
|
c_args : gst_plugins_base_args + extra_c_args,
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [gst_base_dep, video_dep, gtk_dep],
|
|
install : false)
|
|
|
|
gstgtkhelper_dep = declare_dependency(link_with: gstgtkhelper,
|
|
compile_args : extra_args,
|
|
include_directories : include_directories('.'),
|
|
dependencies : [gst_base_dep, video_dep, gtk_dep])
|
|
|
|
subdir('filternovideooverlay')
|
|
subdir('filtervideooverlay')
|
|
subdir('fxtest')
|
|
subdir('switchvideooverlay')
|
|
subdir('3dvideo')
|