opencv: Make the OpenCV plugin optional in the meson build
This commit is contained in:
parent
5a6b121d5b
commit
7488a8fb35
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user