From: Fabrice Fontaine Date: Fri, 16 Oct 2020 21:45:51 +0000 (+0200) Subject: package/zxing-cpp: add opencv3 optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a25793ba0403f5073f606f8323c74209d21bc894;p=buildroot.git package/zxing-cpp: add opencv3 optional dependency Signed-off-by: Fabrice Fontaine [yann.morin.1998@free.fr: split to a separate condition] Signed-off-by: Yann E. MORIN --- diff --git a/package/zxing-cpp/zxing-cpp.mk b/package/zxing-cpp/zxing-cpp.mk index c138c925bb..fbe3cc7dd9 100644 --- a/package/zxing-cpp/zxing-cpp.mk +++ b/package/zxing-cpp/zxing-cpp.mk @@ -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