mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
opencv: allow compilation against 4.1.x
This commit is contained in:
parent
7aba64e19d
commit
49a2baebf5
2 changed files with 2 additions and 2 deletions
|
@ -1845,7 +1845,7 @@ AG_GST_CHECK_FEATURE(OPENCV, [opencv plugins], opencv, [
|
|||
HAVE_OPENCV="yes"
|
||||
fi
|
||||
], [
|
||||
PKG_CHECK_MODULES([OPENCV], [opencv4 >= 4.0.0 opencv4 < 4.1.0] , [
|
||||
PKG_CHECK_MODULES([OPENCV], [opencv4 >= 4.0.0 opencv4 < 4.2.0] , [
|
||||
AC_PROG_CXX
|
||||
AC_LANG([C++])
|
||||
OLD_CPPFLAGS=$CPPFLAGS
|
||||
|
|
|
@ -65,7 +65,7 @@ if opencv_found
|
|||
endif
|
||||
endforeach
|
||||
else
|
||||
opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.1.0'], required : false)
|
||||
opencv_dep = dependency('opencv4', version : ['>= 4.0.0', '< 4.2.0'], required : false)
|
||||
opencv_found = opencv_dep.found()
|
||||
if opencv_found
|
||||
foreach h : libopencv4_headers
|
||||
|
|
Loading…
Reference in a new issue