mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/zxing-cpp: add opencv3 optional dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [yann.morin.1998@free.fr: split to a separate condition] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
8b19d4d816
commit
a25793ba04
@@ -19,6 +19,9 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_LIB_HIGHGUI),y)
|
||||
ZXING_CPP_DEPENDENCIES += opencv
|
||||
ZXING_CPP_CONF_OPTS += -DBUILD_OPENCV=ON
|
||||
else ifeq ($(BR2_PACKAGE_OPENCV3_LIB_HIGHGUI),y)
|
||||
ZXING_CPP_DEPENDENCIES += opencv3
|
||||
ZXING_CPP_CONF_OPTS += -DBUILD_OPENCV=ON
|
||||
else
|
||||
ZXING_CPP_CONF_OPTS += -DBUILD_OPENCV=OFF
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user