opencv: do not override CMAKE_BUILD_TYPE

This flag is already correctly set by the cmake-package infrastructure.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Samuel Martin 2014-06-01 11:24:31 +02:00 committed by Peter Korsgaard
parent bccca5a0e2
commit 2c2e3ef173

View File

@ -10,7 +10,6 @@ OPENCV_SOURCE = OpenCV-$(OPENCV_VERSION).tar.bz2
OPENCV_INSTALL_STAGING = YES
OPENCV_CONF_OPT += \
-DCMAKE_BUILD_TYPE=$(if $(BR2_ENABLE_DEBUG),Debug,Release) \
-DBUILD_WITH_STATIC_CRT=OFF \
-DBUILD_DOCS=OFF \
-DBUILD_EXAMPLES=OFF \