diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-07-24 19:20:40 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-07-24 19:23:03 +0200 |
commit | cce210f6768ab9960248f07d2b203dfae660daac (patch) | |
tree | 40f6a2c0a445216ae797c0c15dd427c7dee6a358 /cmake | |
parent | a8e493122e436b3202b266db23e200e764bdabc5 (diff) | |
download | minetest-cce210f6768ab9960248f07d2b203dfae660daac.tar.gz minetest-cce210f6768ab9960248f07d2b203dfae660daac.tar.bz2 minetest-cce210f6768ab9960248f07d2b203dfae660daac.zip |
Locale dir should be parallel to global data dir
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/FindGettextLib.cmake | 2 |
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) |