Author: Andreas Tille <tille@debian.org>
Last-Update: Fri, 24 Jan 2020 15:30:06 +0100
Description: Debian moved to opencv4 which needs to be detected by pkg-config

--- a/configure.ac
+++ b/configure.ac
@@ -27,7 +27,7 @@ AC_OPENMP
 AC_SUBST(OPENMP_CFLAGS)
 
 # We check for opencv 3.0.0. if absent, stop!!
-PKG_CHECK_MODULES([OPENCV],[opencv >= 3.0.0],[],[AC_MSG_ERROR(OpenCV not found. Have you installed the library (devel version)). OpenCFU cannot be built without OpenCV!])
+PKG_CHECK_MODULES([OPENCV],[opencv4 >= 3.0.0],[],[AC_MSG_ERROR(OpenCV not found. Have you installed the library (devel version)). OpenCFU cannot be built without OpenCV!])
 
 ### We add opencv to global AM flags.
 
