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:
parent
bccca5a0e2
commit
2c2e3ef173
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user