Declare USE_GETTEXT option

This commit is contained in:
Giuseppe Bilotta 2011-07-22 14:42:04 +02:00
parent bf3dfec7d6
commit 9653522873
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ if(RUN_IN_PLACE)
add_definitions ( -DRUN_IN_PLACE )
endif(RUN_IN_PLACE)
OPTION(USE_GETTEXT "Use GetText for internationalization" OFF)
if(USE_GETTEXT)
find_package(GettextLib REQUIRED)
message(STATUS "gettext include path: ${GETTEXT_INCLUDE_DIR}")