package/domoticz: set WITH_LIBUSB

Use WITH_LIBUSB which is available since version 4.9700 and
f53817577a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Fabrice Fontaine 2020-05-08 00:37:20 +02:00 committed by Yann E. MORIN
parent eb02ef549f
commit a896be19de

View File

@ -38,6 +38,9 @@ DOMOTICZ_CONF_OPTS += \
ifeq ($(BR2_PACKAGE_LIBUSB),y)
DOMOTICZ_DEPENDENCIES += libusb
DOMOTICZ_CONF_OPTS += -DWITH_LIBUSB=ON
else
DOMOTICZ_CONF_OPTS += -DWITH_LIBUSB=OFF
endif
ifeq ($(BR2_PACKAGE_OPENZWAVE),y)