opencv: allow compilation against 4.3.x

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1235>
This commit is contained in:
Luka Blaskovic 2020-05-01 07:46:56 +02:00 committed by GStreamer Merge Bot
parent 02c8e66ff1
commit 4cf362e2df

View file

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