diff options
author | Bernd Wachter <bwachter-tmw@lart.info> | 2009-04-06 00:29:04 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-06 15:00:14 +0200 |
commit | e76f1fe00f03ae5977e94f830980034c2453d884 (patch) | |
tree | 9812ab1e2cb6e41956dd8b66fd77c11ab84cfc57 /CMakeLists.txt | |
parent | ee4f4fd0aff3a614b4e60ab082ff4b493c18da93 (diff) | |
download | mana-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 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bf66c6ae..6cefa798 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,8 +12,10 @@ OPTION(WITH_OPENGL "Enable OpenGL support" ON) IF (WIN32) SET(PKG_DATADIR ".") SET(PKG_BINDIR ".") + SET(LOCALEDIR ".") ELSE (WIN32) SET(PKG_DATADIR ${CMAKE_INSTALL_PREFIX}/share/tmw) + SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale) SET(PKG_BINDIR ${CMAKE_INSTALL_PREFIX}/bin) ENDIF (WIN32) |