mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Declare USE_GETTEXT option
This commit is contained in:
parent
a09660dc85
commit
7d9dd352cf
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue