summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorBernd Wachter <bwachter-tmw@lart.info>2009-04-06 00:29:04 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-06 15:00:14 +0200
commite76f1fe00f03ae5977e94f830980034c2453d884 (patch)
tree9812ab1e2cb6e41956dd8b66fd77c11ab84cfc57 /src/CMakeLists.txt
parentee4f4fd0aff3a614b4e60ab082ff4b493c18da93 (diff)
downloadmana-e76f1fe00f03ae5977e94f830980034c2453d884.tar.gz
mana-e76f1fe00f03ae5977e94f830980034c2453d884.tar.bz2
mana-e76f1fe00f03ae5977e94f830980034c2453d884.tar.xz
mana-e76f1fe00f03ae5977e94f830980034c2453d884.zip
Fixed DATADIR and LOCALEDIR variables for CMake-build; fixed game data installation
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b67b81e9..c30798ef 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -11,7 +11,8 @@ FIND_PACKAGE(PNG REQUIRED)
SET(FLAGS "-DPACKAGE_VERSION=\\\"${VERSION}\\\"")
-SET(FLAGS "${FLAGS} -DTMW_DATADIR=\\\"${PKG_DATADIR}/\\\"")
+SET(FLAGS "${FLAGS} -DPKG_DATADIR=\\\"${PKG_DATADIR}/\\\"")
+SET(FLAGS "${FLAGS} -DLOCALEDIR=\\\"${LOCALEDIR}/\\\"")
SET(FLAGS_EA "${FLAGS} -DEATHENA_SUPPORT")
SET(FLAGS_TMW "${FLAGS} -DTMWSERV_SUPPORT")