Declare USE_GETTEXT option
This commit is contained in:
parent
bf3dfec7d6
commit
9653522873
|
@ -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