summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Murino <nicola.murino@gmail.com>2017-09-04 08:30:58 +0200
committerSebastian Dröge <sebastian@centricular.com>2017-09-04 10:10:48 +0300
commit6ef65f550b5fed24e4f8592a82b901140c0cf342 (patch)
treec4b19f31ba747c351c35e3cb7ae4daa5807b887f
parent7c8a469f9a61512f38db4507db13df6300cee050 (diff)
opencv: allow compilation against 3.3.0
https://bugzilla.gnome.org/show_bug.cgi?id=787234
-rw-r--r--configure.ac2
-rw-r--r--ext/opencv/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a6c0abdab..3745ed246 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
diff --git a/ext/opencv/meson.build b/ext/opencv/meson.build
index b5f30bb5e..32aaf5c2a 100644
--- a/ext/opencv/meson.build
+++ b/ext/opencv/meson.build
@@ -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