* [Buildroot] [PATCH 1/1] package/gdal: add sqlite optional dependency
@ 2024-01-03 18:19 Fabrice Fontaine
2024-01-04 21:30 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-01-03 18:19 UTC (permalink / raw)
To: buildroot; +Cc: Dominik Michael Rauh, Fabrice Fontaine
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/gdal/gdal.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/gdal/gdal.mk b/package/gdal/gdal.mk
index 5690f55c00..e9dcc826b5 100644
--- a/package/gdal/gdal.mk
+++ b/package/gdal/gdal.mk
@@ -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))
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-04 21:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-03 18:19 [Buildroot] [PATCH 1/1] package/gdal: add sqlite optional dependency Fabrice Fontaine
2024-01-04 21:30 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.