mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 15:06:34 +00:00
opencv: allow compilation against 3.3.0
https://bugzilla.gnome.org/show_bug.cgi?id=787234
This commit is contained in:
parent
7c8a469f9a
commit
6ef65f550b
2 changed files with 2 additions and 2 deletions
|
@ -2791,7 +2791,7 @@ AG_GST_CHECK_FEATURE(OPENCV, [opencv plugins], opencv, [
|
|||
dnl a new version and the no-backward-compatibility define. (There doesn't
|
||||
dnl seem to be a switch to suppress the warnings the cvcompat.h header
|
||||
dnl causes.)
|
||||
PKG_CHECK_MODULES(OPENCV, opencv >= 2.3.0 opencv <= 3.2.0 , [
|
||||
PKG_CHECK_MODULES(OPENCV, opencv >= 2.3.0 opencv <= 3.3.0 , [
|
||||
AC_PROG_CXX
|
||||
AC_LANG([C++])
|
||||
OLD_CPPFLAGS=$CPPFLAGS
|
||||
|
|
|
@ -40,7 +40,7 @@ libopencv3_headers = [
|
|||
|
||||
gstopencv_cargs = ['-DGST_HAAR_CASCADES_DIR="@0@"']
|
||||
|
||||
opencv_dep = dependency('opencv', version : ['>= 2.3.0', '<= 3.2.0'], required : false)
|
||||
opencv_dep = dependency('opencv', version : ['>= 2.3.0', '<= 3.3.0'], required : false)
|
||||
opencv_found = opencv_dep.found()
|
||||
|
||||
if opencv_found
|
||||
|
|
Loading…
Reference in a new issue