From 3f9170bd02bf9551385ce6092a2ced7fb938a874 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Fri, 8 Mar 2019 11:03:31 +0900 Subject: [PATCH] meson: Build v4l2 example only if v4l2 plugin was built Otherwise v4l2 example will be built with MSVC --- tests/examples/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/examples/meson.build b/tests/examples/meson.build index 8f28f7f90b..eec85b4ab4 100644 --- a/tests/examples/meson.build +++ b/tests/examples/meson.build @@ -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')