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: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Quentin Schulz
2026-03-24 12:01:46 +01:00
committed by Thomas Perale
parent e33766387c
commit 2d2a97ab39

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