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/TranslationsMusl.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake/TranslationsMusl.cmake') 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) -- cgit v1.2.3-70-g09d2