summaryrefslogtreecommitdiff
path: root/cmake/TranslationsMusl.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/TranslationsMusl.cmake')
-rw-r--r--cmake/TranslationsMusl.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/TranslationsMusl.cmake b/cmake/TranslationsMusl.cmake
index 987a0cb..c2b23c4 100644
--- a/cmake/TranslationsMusl.cmake
+++ b/cmake/TranslationsMusl.cmake
@@ -20,6 +20,6 @@ macro (add_musl_translations_directory NLS_PACKAGE LOCPATH)
add_custom_command (TARGET musl-i18n COMMAND ${MSGFMT_EXECUTABLE} -o ${MO_OUTPUT} ${PO_INPUT})
install (FILES ${MO_OUTPUT} DESTINATION
- ${LOCPATH})
+ ${CMAKE_INSTALL_DATAROOTDIR}/${LOCPATH})
endforeach (PO_INPUT ${PO_FILES})
endmacro (add_musl_translations_directory)