[PATCH 04/12] vhost-user-video: add meson subdir build logic

Albert Esteve posted 12 patches 2 years, 10 months ago
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Albert Esteve <aesteve@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
[PATCH 04/12] vhost-user-video: add meson subdir build logic
Posted by Albert Esteve 2 years, 10 months ago
From: Peter Griffin <peter.griffin@linaro.org>

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Albert Esteve <aesteve@redhat.com>
---
 tools/meson.build | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tools/meson.build b/tools/meson.build
index e69de29bb2..737f7dc140 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -0,0 +1,7 @@
+have_virtiovideo = (targetos == 'linux' and
+    have_tools and
+    have_vhost_user)
+
+if have_virtiovideo
+  subdir('vhost-user-video')
+endif
-- 
2.39.2