opencv: do not override CMAKE_BUILD_TYPE
authorSamuel Martin <s.martin49@gmail.com>
Sun, 1 Jun 2014 09:24:31 +0000 (11:24 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 1 Jun 2014 20:20:14 +0000 (22:20 +0200)
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>
package/opencv/opencv.mk

index 42f9b0a51ff925399dfee79428ffaf3b7288402e..3fcba80e7add0523a2afae96ccd622307e94e5ea 100644 (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                                         \