package/gdal: add sqlite optional dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2024-01-03 19:19:34 +01:00 committed by Thomas Petazzoni
parent ce151f52d1
commit 7b7bac9bb2

View File

@ -91,7 +91,6 @@ GDAL_CONF_OPTS = \
-DGDAL_USE_SFCGAL=OFF \
-DGDAL_USE_FYBA=OFF \
-DGDAL_USE_SPATIALITE=OFF \
-DGDAL_USE_SQLITE3=OFF \
-DGDAL_USE_TEIGHA=OFF \
-DGDAL_USE_TILEDB=OFF \
-DGDAL_USE_WEBP=OFF \
@ -127,4 +126,11 @@ else
GDAL_CONF_OPTS += -DGDAL_USE_POSTGRESQL=OFF
endif
ifeq ($(BR2_PACKAGE_SQLITE),y)
GDAL_DEPENDENCIES += sqlite
GDAL_CONF_OPTS += -DGDAL_USE_SQLITE3=ON
else
GDAL_CONF_OPTS += -DGDAL_USE_SQLITE3=OFF
endif
$(eval $(cmake-package))