[1/2] package/zxing-cpp: add optional cppunit dependency
diff mbox series

Message ID 20191109083710.10660-1-fontaine.fabrice@gmail.com
State Superseded
Headers show
Series
  • [1/2] package/zxing-cpp: add optional cppunit dependency
Related show

Commit Message

Fabrice Fontaine Nov. 9, 2019, 8:37 a.m. UTC
zxing-cpp optionally depends on cppunit

There is no option to disable it until we bump the version to at least
https://github.com/glassechidna/zxing-cpp/commit/4e2b4fe1668c60d73e7649b0d3d5888912878392

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/zxing-cpp/zxing-cpp.mk | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

diff --git a/package/zxing-cpp/zxing-cpp.mk b/package/zxing-cpp/zxing-cpp.mk
index 7113ae2b06..4b46f2d29f 100644
--- a/package/zxing-cpp/zxing-cpp.mk
+++ b/package/zxing-cpp/zxing-cpp.mk
@@ -10,6 +10,7 @@  ZXING_CPP_LICENSE = Apache-2.0
 ZXING_CPP_LICENSE_FILES = COPYING
 ZXING_CPP_INSTALL_STAGING = YES
 ZXING_CPP_SUPPORTS_IN_SOURCE_BUILD = NO
+ZXING_CPP_DEPENDENCIES = $(if $(BR2_PACKAGE_CPPUNIT),cppunit)
 
 ifeq ($(BR2_PACKAGE_LIBICONV),y)
 ZXING_CPP_DEPENDENCIES += libiconv