mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
opencv: Make the OpenCV plugin optional in the meson build
This commit is contained in:
parent
5a6b121d5b
commit
7488a8fb35
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ else
|
||||||
opencv_cargs += '-DOPENCV_PATH_NAME="OpenCv"'
|
opencv_cargs += '-DOPENCV_PATH_NAME="OpenCv"'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
opencv_dep = dependency('opencv', version : '>= 2.3.0')
|
opencv_dep = dependency('opencv', version : '>= 2.3.0', required : false)
|
||||||
if opencv_dep.found()
|
if opencv_dep.found()
|
||||||
gstopencv = library('gstopencv',
|
gstopencv = library('gstopencv',
|
||||||
opencv_sources,
|
opencv_sources,
|
||||||
|
|
Loading…
Reference in a new issue