mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-16 06:15:06 -05:00
Declare USE_GETTEXT option
This commit is contained in:
parent
a09660dc85
commit
7d9dd352cf
@ -5,6 +5,8 @@ if(RUN_IN_PLACE)
|
|||||||
add_definitions ( -DRUN_IN_PLACE )
|
add_definitions ( -DRUN_IN_PLACE )
|
||||||
endif(RUN_IN_PLACE)
|
endif(RUN_IN_PLACE)
|
||||||
|
|
||||||
|
OPTION(USE_GETTEXT "Use GetText for internationalization" OFF)
|
||||||
|
|
||||||
if(USE_GETTEXT)
|
if(USE_GETTEXT)
|
||||||
find_package(GettextLib REQUIRED)
|
find_package(GettextLib REQUIRED)
|
||||||
message(STATUS "gettext include path: ${GETTEXT_INCLUDE_DIR}")
|
message(STATUS "gettext include path: ${GETTEXT_INCLUDE_DIR}")
|
||||||
|
Loading…
Reference in New Issue
Block a user