forked from Mirrorlandia_minetest/minetest
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