package/minetest: add libspatialindex optional dependency
Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
5e42d596bd
commit
f83601e741
@ -16,7 +16,6 @@ MINETEST_CONF_OPTS = \
|
||||
-DENABLE_GLES=OFF \
|
||||
-DENABLE_LUAJIT=ON \
|
||||
-DENABLE_CURSES=OFF \
|
||||
-DENABLE_SPATIAL=OFF \
|
||||
-DAPPLY_LOCALE_BLACKLIST=OFF \
|
||||
-DENABLE_SYSTEM_GMP=ON \
|
||||
-DENABLE_SYSTEM_JSONCPP=ON
|
||||
@ -69,6 +68,13 @@ else
|
||||
MINETEST_CONF_OPTS += -DENABLE_CURL=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSPATIALINDEX),y)
|
||||
MINETEST_DEPENDENCIES += libspatialindex
|
||||
MINETEST_CONF_OPTS += -DENABLE_SPATIAL=ON
|
||||
else
|
||||
MINETEST_CONF_OPTS += -DENABLE_SPATIAL=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
|
||||
MINETEST_DEPENDENCIES += postgresql
|
||||
MINETEST_CONF_OPTS += -DENABLE_POSTGRESQL=ON
|
||||
|
Loading…
Reference in New Issue
Block a user