Commit 70d6b400 authored by Wonchul Lee's avatar Wonchul Lee

meson: Add gtk guard

parent 1513cf77
Pipeline #12396 passed with stages
in 32 minutes and 39 seconds
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment