package/qt6/qt6base: add support for network module
Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
04d3aef680
commit
26ebde7013
@ -14,3 +14,12 @@ config BR2_PACKAGE_QT6BASE
|
||||
QtWidgets, etc.
|
||||
|
||||
http://qt.io
|
||||
|
||||
if BR2_PACKAGE_QT6BASE
|
||||
|
||||
config BR2_PACKAGE_QT6BASE_NETWORK
|
||||
bool "network module"
|
||||
help
|
||||
This options enables the Qt6Network library.
|
||||
|
||||
endif
|
||||
|
@ -75,5 +75,11 @@ define HOST_QT6BASE_INSTALL_CMDS
|
||||
$(HOST_MAKE_ENV) $(BR2_CMAKE) --install $(HOST_QT6BASE_BUILDDIR)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT6BASE_NETWORK),y)
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_network=ON
|
||||
else
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_network=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
$(eval $(host-cmake-package))
|
||||
|
Loading…
Reference in New Issue
Block a user