From e76f1fe00f03ae5977e94f830980034c2453d884 Mon Sep 17 00:00:00 2001 From: Bernd Wachter Date: Mon, 6 Apr 2009 00:29:04 +0200 Subject: Fixed DATADIR and LOCALEDIR variables for CMake-build; fixed game data installation --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3-70-g09d2