Do not build/install language files if DISABLE_NLS is ON for cmake (bug #27277)

v2.8-utf8proc
Sebastien Helleu 2009-08-18 16:46:41 +02:00
parent 6fd5448a52
commit 2487d8a58e
1 changed files with 4 additions and 1 deletions

View File

@ -59,7 +59,10 @@ OPTION(DISABLE_TCL "Disable Tcl scripting language")
OPTION(DISABLE_XFER "Disable Xfer plugin (file transfer and direct chat)")
OPTION(DISABLE_DOC "Disable Doc")
ADD_SUBDIRECTORY( po )
IF(NOT DISABLE_NLS)
ADD_SUBDIRECTORY( po )
ENDIF(NOT DISABLE_NLS)
ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( doc )