package/minetest: add NLS 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
773eb70e38
commit
936ef5dc26
@ -13,7 +13,6 @@ MINETEST_DEPENDENCIES = gmp irrlicht jsoncpp luajit sqlite zlib
|
||||
|
||||
MINETEST_CONF_OPTS = \
|
||||
-DDEFAULT_RUN_IN_PLACE=OFF \
|
||||
-DENABLE_GETTEXT=OFF \
|
||||
-DENABLE_SOUND=OFF \
|
||||
-DENABLE_GLES=OFF \
|
||||
-DENABLE_FREETYPE=OFF \
|
||||
@ -47,4 +46,11 @@ else
|
||||
MINETEST_CONF_OPTS += -DENABLE_CURL=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_SYSTEM_ENABLE_NLS),y)
|
||||
MINETEST_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES)
|
||||
MINETEST_CONF_OPTS += -DENABLE_GETTEXT=ON
|
||||
else
|
||||
MINETEST_CONF_OPTS += -DENABLE_GETTEXT=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
Loading…
Reference in New Issue
Block a user