[Buildroot] [PATCH 4/7] opencv: add eigen dependency

Samuel Martin s.martin49 at gmail.com
Mon Nov 11 21:00:10 UTC 2013


Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
---
 package/opencv/Config.in | 1 +
 package/opencv/opencv.mk | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/opencv/Config.in b/package/opencv/Config.in
index 146011a..5b970e8 100644
--- a/package/opencv/Config.in
+++ b/package/opencv/Config.in
@@ -1,6 +1,7 @@
 menuconfig BR2_PACKAGE_OPENCV
 	bool "opencv"
 	select BR2_PACKAGE_ZLIB
+	select BR2_PACKAGE_EIGEN
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR
 	help
diff --git a/package/opencv/opencv.mk b/package/opencv/opencv.mk
index b9ed8cb..8556272 100644
--- a/package/opencv/opencv.mk
+++ b/package/opencv/opencv.mk
@@ -88,7 +88,7 @@ OPENCV_CONF_OPT += \
 	-DWITH_CUBLAS=OFF         \
 	-DWITH_CUDA=OFF           \
 	-DWITH_CUFFT=OFF          \
-	-DWITH_EIGEN=OFF          \
+	-DWITH_EIGEN=ON           \
 	-DWITH_IMAGEIO=OFF        \
 	-DWITH_IPP=OFF            \
 	-DWITH_JASPER=OFF         \
@@ -103,7 +103,7 @@ OPENCV_CONF_OPT += \
 	-DWITH_XIMEA=OFF          \
 	-DWITH_XINE=OFF
 
-OPENCV_DEPENDENCIES += zlib
+OPENCV_DEPENDENCIES += zlib eigen
 
 ifeq ($(BR2_PACKAGE_OPENCV_WITH_FFMPEG),y)
 OPENCV_CONF_OPT += -DWITH_FFMPEG=ON
-- 
1.8.4.2




More information about the buildroot mailing list