From: Bernd Kuhls Date: Mon, 18 Apr 2016 20:17:54 +0000 (+0200) Subject: package/opencv: add inter-module dependencies X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3bd5025038a9ecfb2c19a2450a68ae3b0888b440;p=buildroot.git package/opencv: add inter-module dependencies As stated by Samuel the opencv2 package lacks inter-module dependencies: http://lists.busybox.net/pipermail/buildroot/2016-April/158902.html This patch adds the necessary code for freeswitch's mod_cv to compile. Signed-off-by: Bernd Kuhls Reviewed-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- diff --git a/package/opencv/Config.in b/package/opencv/Config.in index 8bc6c34779..b563312fe8 100644 --- a/package/opencv/Config.in +++ b/package/opencv/Config.in @@ -23,6 +23,13 @@ config BR2_PACKAGE_OPENCV_LIB_CALIB3D config BR2_PACKAGE_OPENCV_LIB_CONTRIB bool "contrib" default y + # modules/contrib/CMakeLists.txt + select BR2_PACKAGE_OPENCV_LIB_CALIB3D + select BR2_PACKAGE_OPENCV_LIB_FEATURES2D + select BR2_PACKAGE_OPENCV_LIB_IMGPROC + select BR2_PACKAGE_OPENCV_LIB_ML + select BR2_PACKAGE_OPENCV_LIB_OBJDETECT + select BR2_PACKAGE_OPENCV_LIB_VIDEO help Include opencv_contrib module into the OpenCV build. @@ -46,6 +53,8 @@ config BR2_PACKAGE_OPENCV_LIB_GPU config BR2_PACKAGE_OPENCV_LIB_HIGHGUI bool "highgui" default y + # modules/highgui/CMakeLists.txt + select BR2_PACKAGE_OPENCV_LIB_IMGPROC help Include opencv_highgui module into the OpenCV build. @@ -58,6 +67,10 @@ config BR2_PACKAGE_OPENCV_LIB_IMGPROC config BR2_PACKAGE_OPENCV_LIB_LEGACY bool "legacy" default y + # modules/legacy/CMakeLists.txt + select BR2_PACKAGE_OPENCV_LIB_CALIB3D + select BR2_PACKAGE_OPENCV_LIB_ML + select BR2_PACKAGE_OPENCV_LIB_VIDEO help Include opencv_legacy module into the OpenCV build. @@ -75,6 +88,8 @@ config BR2_PACKAGE_OPENCV_LIB_NONFREE config BR2_PACKAGE_OPENCV_LIB_OBJDETECT bool "objdetect" default y + # modules/objdetect/CMakeLists.txt + select BR2_PACKAGE_OPENCV_LIB_IMGPROC help Include opencv_objdetect module into the OpenCV build.