From 359b76bdadaa65e770e4347d5a8c8c1f8959079d Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Wed, 29 Jun 2011 13:18:20 +0000 Subject: [PATCH] Fixed native camera support in Android.mk --- OpenCV.mk.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OpenCV.mk.in b/OpenCV.mk.in index 5c1b2ef..a307552 100644 --- a/OpenCV.mk.in +++ b/OpenCV.mk.in @@ -14,8 +14,12 @@ OPENCV_MODULES := contrib calib3d objdetect features2d imgproc video highgui ml ifeq ($(TARGET_ARCH_ABI),armeabi) OPENCV_CAMERA_MODULES:= else +ifeq (${OPENCV_CAMERA_MODULES},off) +OPENCV_CAMERA_MODULES:= +else OPENCV_CAMERA_MODULES:=@CMAKE_CAMERA_LIBS_CONFIGCMAKE@ endif +endif OPENCV_LIB_TYPE:=@OPENCV_LIBTYPE_CONFIGMAKE@ -- 2.7.4