mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
meson: Add gtk guard
This commit is contained in:
parent
1513cf774d
commit
70d6b4002c
1 changed files with 12 additions and 10 deletions
|
@ -12,13 +12,15 @@ foreach example : examples
|
|||
install: false)
|
||||
endforeach
|
||||
|
||||
executable('test-vaapicontext', 'test-vaapicontext.c',
|
||||
c_args : gstreamer_vaapi_args,
|
||||
include_directories: [configinc, libsinc],
|
||||
dependencies : [ gst_dep,
|
||||
gstvideo_dep,
|
||||
libva_dep,
|
||||
x11_dep,
|
||||
gtk_dep,
|
||||
libva_x11_dep ],
|
||||
install: false)
|
||||
if gtk_dep.found()
|
||||
executable('test-vaapicontext', 'test-vaapicontext.c',
|
||||
c_args : gstreamer_vaapi_args,
|
||||
include_directories: [configinc, libsinc],
|
||||
dependencies : [ gst_dep,
|
||||
gstvideo_dep,
|
||||
libva_dep,
|
||||
x11_dep,
|
||||
gtk_dep,
|
||||
libva_x11_dep ],
|
||||
install: false)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue