package/qt5/qt53d: disable assimp support when BR2_PACKAGE_ASSIMP is not set

If we don't disable it, the assimp module from the sources will be used
instead of none. Unfortunately, it currently doesn't build so let's
disable it when BR2_PACKAGE_ASSIMP is not set such that one can still
build qt53d.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
Quentin Schulz
2026-03-27 17:53:02 +01:00
committed by Arnout Vandecappelle
parent b90127ee71
commit bc1a1dfece

View File

@@ -11,8 +11,14 @@ QT53D_DEPENDENCIES = qt5declarative
QT53D_INSTALL_STAGING = YES
QT53D_SYNC_QT_HEADERS = YES
# command line argument separator
QT53D_CONF_OPTS = --
ifeq ($(BR2_PACKAGE_ASSIMP),y)
QT53D_DEPENDENCIES += assimp
else
QT53D_CONF_OPTS += \
-no-feature-assimp
endif
QT53D_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0