meson: Add gtk guard
This commit is contained in:
parent
1513cf774d
commit
70d6b4002c
@ -12,7 +12,8 @@ foreach example : examples
|
|||||||
install: false)
|
install: false)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
executable('test-vaapicontext', 'test-vaapicontext.c',
|
if gtk_dep.found()
|
||||||
|
executable('test-vaapicontext', 'test-vaapicontext.c',
|
||||||
c_args : gstreamer_vaapi_args,
|
c_args : gstreamer_vaapi_args,
|
||||||
include_directories: [configinc, libsinc],
|
include_directories: [configinc, libsinc],
|
||||||
dependencies : [ gst_dep,
|
dependencies : [ gst_dep,
|
||||||
@ -22,3 +23,4 @@ executable('test-vaapicontext', 'test-vaapicontext.c',
|
|||||||
gtk_dep,
|
gtk_dep,
|
||||||
libva_x11_dep ],
|
libva_x11_dep ],
|
||||||
install: false)
|
install: false)
|
||||||
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user