package/log4qt: add telnet optional logging

Telnet logging is an optional feature that's disabled by default.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bartosz Bilas 2021-05-05 21:22:10 +02:00 committed by Peter Korsgaard
parent 0298404386
commit 863378ed27

View File

@ -22,4 +22,10 @@ else
LOG4QT_CONF_OPTS += -DBUILD_WITH_DB_LOGGING=OFF LOG4QT_CONF_OPTS += -DBUILD_WITH_DB_LOGGING=OFF
endif endif
ifeq ($(BR2_PACKAGE_QT5BASE_NETWORK),y)
LOG4QT_CONF_OPTS += -DBUILD_WITH_TELNET_LOGGING=ON
else
LOG4QT_CONF_OPTS += -DBUILD_WITH_TELNET_LOGGING=OFF
endif
$(eval $(cmake-package)) $(eval $(cmake-package))