summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorxHire <xhire@tuxportal.cz>2008-11-09 17:14:53 +0100
committerxHire <xhire@tuxportal.cz>2008-11-09 17:16:52 +0100
commitde05256afe45ad24cda83ed1e2cf873c97de132c (patch)
tree9b521f139bf89d30af13b4c23ac5b274aa66be89 /CMakeLists.txt
parent71f4394aff8288ea1df2d637de9a831d6f4d29d5 (diff)
Switched -DNLS=0 switch to -DNO_NLS=1 switch
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index db504f4..6d1cb9e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@
# -DNO_Audio=1 # disable audio
# -DDebug=1 # enable debug
# -DCMAKE_C_FLAGS=-Wall # modification for CFLAGS
-# -DNLS=0 # disable Gettext NLS
+# -DNO_NLS=1 # disable Gettext NLS
# -DApple=1 # build apple port
# -DCMAKE_INSTALL_PREFIX=/bla/ # install prefix
# -DCMAKE_DATA_PATH=/other/bla/ # install path for data
@@ -176,12 +176,12 @@ ENDIF ( Bundle )
###############################################################################
# GETTEXT SUPPORT
###############################################################################
-IF ( NLS )
+IF ( NOT NO_NLS )
MESSAGE ( STATUS "<Building with NLS as requested>" )
MESSAGE ( STATUS "<******************************>" )
ADD_DEFINITIONS ( -DNLS )
ADD_SUBDIRECTORY ( po )
-ENDIF ( NLS )
+ENDIF ( NOT NO_NLS )
###############################################################################
# COMPILATION ITSELF
###############################################################################