meson: tests: Do not pull qt5 as a hard dependency
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Mon, 5 Sep 2016 21:40:19 +0000 (18:40 -0300)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Mon, 5 Sep 2016 21:40:19 +0000 (18:40 -0300)
tests/examples/overlay/meson.build

index b246aa6..94d7dc0 100644 (file)
@@ -9,7 +9,7 @@ if x11_dep.found() # FIXME: originally if USE_X
 
   if add_languages('cpp')                          # check for C++ support
     qt5_mod = import('qt5')
-    qt5widgets_dep = dependency('qt5', modules : ['Gui', 'Widgets'])
+    qt5widgets_dep = dependency('qt5', modules : ['Gui', 'Widgets'], required: false)
     if qt5widgets_dep.found()
       executable('qt-videooverlay', 'qt-videooverlay.cpp',
         cpp_args : gst_plugins_base_args,