aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-24 20:04:20 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-24 20:04:20 +0200
commitf69123050b62ada635751b7155bb6822b0a97a9b (patch)
tree2ac77db755865c134ab58492e3024d6401ed1eb4 /cmake/Modules
parentad6b0873532d769e108930734f17d2b5dfd0c49d (diff)
parenta5a9c9f799dfbad2e542e4bd7b2c9ae7821ecb6b (diff)
downloadminetest-f69123050b62ada635751b7155bb6822b0a97a9b.tar.gz
minetest-f69123050b62ada635751b7155bb6822b0a97a9b.tar.bz2
minetest-f69123050b62ada635751b7155bb6822b0a97a9b.zip
Merge branch 'master' of github.com:erlehmann/minetest-delta
Diffstat (limited to 'cmake/Modules')
-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 a215f3f8d..18935eaad 100644
--- a/cmake/Modules/FindGettextLib.cmake
+++ b/cmake/Modules/FindGettextLib.cmake
@@ -56,7 +56,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 locale/<locale>/LC_MESSAGES)
+ SET(GETTEXT_MO_DEST_PATH ${DATADIR}/../locale/<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)