diff --git a/OpenCV.mk.in b/OpenCV.mk.in index 5c1b2ef0a3..a307552813 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@