opencv: allow compilation against 4.4.x

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1482>
This commit is contained in:
Nicola Murino 2020-07-31 23:38:56 +02:00 committed by GStreamer Merge Bot
parent 4986b0dd34
commit 8544f3928e

View file

@ -65,7 +65,7 @@ if opencv_found
endif
endforeach
else
opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.4.0'], required : false)
opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.5.0'], required : false)
opencv_found = opencv_dep.found()
if opencv_found
foreach h : libopencv4_headers