package/minetest: add freetype 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
936ef5dc26
commit
bcb53e87a2
@ -15,7 +15,6 @@ MINETEST_CONF_OPTS = \
|
||||
-DDEFAULT_RUN_IN_PLACE=OFF \
|
||||
-DENABLE_SOUND=OFF \
|
||||
-DENABLE_GLES=OFF \
|
||||
-DENABLE_FREETYPE=OFF \
|
||||
-DENABLE_LUAJIT=ON \
|
||||
-DENABLE_CURSES=OFF \
|
||||
-DENABLE_POSTGRESQL=OFF \
|
||||
@ -39,6 +38,13 @@ else
|
||||
MINETEST_CONF_OPTS += -DBUILD_SERVER=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FREETYPE),y)
|
||||
MINETEST_DEPENDENCIES += freetype
|
||||
MINETEST_CONF_OPTS += -DENABLE_FREETYPE=ON
|
||||
else
|
||||
MINETEST_CONF_OPTS += -DENABLE_FREETYPE=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
||||
MINETEST_DEPENDENCIES += libcurl
|
||||
MINETEST_CONF_OPTS += -DENABLE_CURL=ON
|
||||
|
Loading…
Reference in New Issue
Block a user