summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorBernd Wachter <bwachter-tmw@lart.info>2009-04-08 10:48:34 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-08 10:57:13 +0200
commit098b9f71c878af8862e8ef80289e806c93464513 (patch)
tree77b5c9c36561856cf0a011db027965546d84a52e /src/CMakeLists.txt
parent767a8d93aec58805f3c087c3a1c301104f511acc (diff)
downloadmana-098b9f71c878af8862e8ef80289e806c93464513.tar.gz
mana-098b9f71c878af8862e8ef80289e806c93464513.tar.bz2
mana-098b9f71c878af8862e8ef80289e806c93464513.tar.xz
mana-098b9f71c878af8862e8ef80289e806c93464513.zip
Disable po-update for cmake; move buildflags to prevent overwriting
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a5b33412..615a0975 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -13,8 +13,6 @@ FIND_PACKAGE(PNG REQUIRED)
SET(FLAGS "-DPACKAGE_VERSION=\\\"${VERSION}\\\"")
SET(FLAGS "${FLAGS} -DPKG_DATADIR=\\\"${PKG_DATADIR}/\\\"")
SET(FLAGS "${FLAGS} -DLOCALEDIR=\\\"${LOCALEDIR}/\\\"")
-SET(FLAGS_EA "${FLAGS} -DEATHENA_SUPPORT")
-SET(FLAGS_TMW "${FLAGS} -DTMWSERV_SUPPORT")
SET(GUICHAN_COMPONENTS "SDL")
FIND_PACKAGE(Guichan REQUIRED ${GUICHAN_COMPONENTS})
@@ -576,5 +574,8 @@ FOREACH(program ${PROGRAMS})
INSTALL(TARGETS ${program} RUNTIME DESTINATION ${PKG_BINDIR})
ENDFOREACH(program)
+SET(FLAGS_EA "${FLAGS} -DEATHENA_SUPPORT")
+SET(FLAGS_TMW "${FLAGS} -DTMWSERV_SUPPORT")
+
SET_TARGET_PROPERTIES(tmw PROPERTIES COMPILE_FLAGS "${FLAGS_TMW}")
SET_TARGET_PROPERTIES(tmw-ea PROPERTIES COMPILE_FLAGS "${FLAGS_EA}")