package/gdal: add xz optional dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
bbea0e7139
commit
1c41b8bcf6
@ -67,7 +67,6 @@ GDAL_CONF_OPTS = \
|
|||||||
-DGDAL_USE_KDU=OFF \
|
-DGDAL_USE_KDU=OFF \
|
||||||
-DGDAL_USE_KEA=OFF \
|
-DGDAL_USE_KEA=OFF \
|
||||||
-DGDAL_USE_LERC=OFF \
|
-DGDAL_USE_LERC=OFF \
|
||||||
-DGDAL_USE_LIBLZMA=OFF \
|
|
||||||
-DGDAL_USE_DEFLATE=OFF \
|
-DGDAL_USE_DEFLATE=OFF \
|
||||||
-DGDAL_USE_MONGOCXX=OFF \
|
-DGDAL_USE_MONGOCXX=OFF \
|
||||||
-DGDAL_USE_MRSID=OFF \
|
-DGDAL_USE_MRSID=OFF \
|
||||||
@ -139,4 +138,11 @@ else
|
|||||||
GDAL_CONF_OPTS += -DGDAL_USE_SQLITE3=OFF
|
GDAL_CONF_OPTS += -DGDAL_USE_SQLITE3=OFF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_XZ),y)
|
||||||
|
GDAL_DEPENDENCIES += xz
|
||||||
|
GDAL_CONF_OPTS += -DGDAL_USE_LIBLZMA=ON
|
||||||
|
else
|
||||||
|
GDAL_CONF_OPTS += -DGDAL_USE_LIBLZMA=OFF
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(cmake-package))
|
$(eval $(cmake-package))
|
||||||
|
Loading…
Reference in New Issue
Block a user