meson: Build v4l2 example only if v4l2 plugin was built

Otherwise v4l2 example will be built with MSVC
This commit is contained in:
Seungha Yang 2019-03-08 11:03:31 +09:00
parent 2dfe228740
commit 3f9170bd02

View file

@ -5,7 +5,9 @@ subdir('qt')
subdir('rtp')
subdir('rtsp')
subdir('shapewipe')
subdir('v4l2')
if have_v4l2
subdir('v4l2')
endif
if gtk_dep.found()
subdir('equalizer')