aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/Translations.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Translations.cmake b/cmake/Translations.cmake
index f069a15..178bded 100644
--- a/cmake/Translations.cmake
+++ b/cmake/Translations.cmake
@@ -10,7 +10,7 @@ macro(add_translations_directory NLS_PACKAGE)
add_custom_command (TARGET i18n COMMAND ${MSGFMT_EXECUTABLE} -o ${MO_OUTPUT} ${PO_INPUT})
install (FILES ${MO_OUTPUT} DESTINATION
- share/locale/${PO_INPUT_BASE}/LC_MESSAGES
+ ${CMAKE_INSTALL_LOCALEDIR}/LC_MESSAGES
RENAME ${NLS_PACKAGE}.mo)
endforeach (PO_INPUT ${PO_FILES})
endmacro(add_translations_directory)