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:
parent
ce151f52d1
commit
7b7bac9bb2
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user