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

This commit is contained in:
Sebastien Helleu 2009-08-18 16:46:41 +02:00
parent 6fd5448a52
commit 2487d8a58e

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 )