opencv: Make the OpenCV plugin optional in the meson build
authorSebastian Dröge <sebastian@centricular.com>
Sun, 27 Nov 2016 09:56:18 +0000 (11:56 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 27 Nov 2016 09:56:18 +0000 (11:56 +0200)
ext/opencv/meson.build

index 01bb640..ac96a90 100644 (file)
@@ -36,7 +36,7 @@ else
   opencv_cargs += '-DOPENCV_PATH_NAME="OpenCv"'
 endif
 
-opencv_dep = dependency('opencv', version : '>= 2.3.0')
+opencv_dep = dependency('opencv', version : '>= 2.3.0', required : false)
 if opencv_dep.found()
   gstopencv = library('gstopencv',
     opencv_sources,