diff options
author | Bernd Wachter <bwachter-tmw@lart.info> | 2010-01-23 22:40:29 +0100 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-01-23 16:57:20 -0700 |
commit | fd92eb89fffd8e33f34766c338900b39ae3d176a (patch) | |
tree | c56c1865982fc3e8528f67154943c6aecddc3d6f /src/CMakeLists.txt | |
parent | b00649b50159f963fd535477987398becbdc3a35 (diff) | |
download | mana-fd92eb89fffd8e33f34766c338900b39ae3d176a.tar.gz mana-fd92eb89fffd8e33f34766c338900b39ae3d176a.tar.bz2 mana-fd92eb89fffd8e33f34766c338900b39ae3d176a.tar.xz mana-fd92eb89fffd8e33f34766c338900b39ae3d176a.zip |
Add flag to actually enable gettext when building with ENABLE_NLS
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index beaef3e4..e101db0c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -14,6 +14,10 @@ SET(FLAGS "-DPACKAGE_VERSION=\\\"${VERSION}\\\"") SET(FLAGS "${FLAGS} -DPKG_DATADIR=\\\"${PKG_DATADIR}/\\\"") SET(FLAGS "${FLAGS} -DLOCALEDIR=\\\"${LOCALEDIR}/\\\"") +IF (ENABLE_NLS) + SET(FLAGS "${FLAGS} -DENABLE_NLS=1") +ENDIF() + IF (WIN32) SET(EXTRA_LIBRARIES ws2_32 winmm) FIND_PACKAGE(LibIntl REQUIRED) |