From e01dec2dd8786449fac75fe88a405f35e1cb382f Mon Sep 17 00:00:00 2001 From: Volodymyr Medvid Date: Sun, 28 Jan 2018 11:40:31 +0200 Subject: Fix cmake install dirs (#3) --- cmake/Translations.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake/Translations.cmake') diff --git a/cmake/Translations.cmake b/cmake/Translations.cmake index 1f36bb6..e81f9dc 100755 --- a/cmake/Translations.cmake +++ b/cmake/Translations.cmake @@ -20,7 +20,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_DATAROOTDIR}/locale/${PO_INPUT_BASE}/LC_MESSAGES RENAME ${NLS_PACKAGE}.mo COMPONENT ${ARGV1}) endforeach (PO_INPUT ${PO_FILES}) -- cgit v1.2.3-70-g09d2