aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-19 23:54:56 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-20 00:08:00 +0200
commit97b693052cd5da228016afa6b31f07970b37569a (patch)
treea5389b936e6bf110de7c3463cd1d04e4a37f484a /cmake
parent19ed3bb1937419b5efdac4f4b6c07869e6bc6f08 (diff)
downloadminetest-97b693052cd5da228016afa6b31f07970b37569a.tar.gz
minetest-97b693052cd5da228016afa6b31f07970b37569a.tar.bz2
minetest-97b693052cd5da228016afa6b31f07970b37569a.zip
Flatten share/ and user/ in the source and for the RUN_IN_PLACE build
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/FindGettextLib.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/FindGettextLib.cmake b/cmake/Modules/FindGettextLib.cmake
index 5779b6b64..bc7ea367f 100644
--- a/cmake/Modules/FindGettextLib.cmake
+++ b/cmake/Modules/FindGettextLib.cmake
@@ -59,7 +59,7 @@ ENDIF()
IF(GETTEXT_FOUND)
SET(GETTEXT_PO_PATH ${CMAKE_SOURCE_DIR}/po)
SET(GETTEXT_MO_BUILD_PATH ${CMAKE_BINARY_DIR}/locale/<locale>/LC_MESSAGES)
- SET(GETTEXT_MO_DEST_PATH ${DATADIR}/../locale/<locale>/LC_MESSAGES)
+ SET(GETTEXT_MO_DEST_PATH ${LOCALEDIR}/<locale>/LC_MESSAGES)
FILE(GLOB GETTEXT_AVAILABLE_LOCALES RELATIVE ${GETTEXT_PO_PATH} "${GETTEXT_PO_PATH}/*")
LIST(REMOVE_ITEM GETTEXT_AVAILABLE_LOCALES minetest.pot)
MACRO(SET_MO_PATHS _buildvar _destvar _locale)