Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/GETTEXT.cmake')
-rw-r--r--cmake/GETTEXT.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/GETTEXT.cmake b/cmake/GETTEXT.cmake
index ec4987004..368a6bec6 100644
--- a/cmake/GETTEXT.cmake
+++ b/cmake/GETTEXT.cmake
@@ -27,7 +27,7 @@ function(gettext po_dir package_name)
if(("$ENV{LINGUAS}" MATCHES "(^| )${lang}( |$)") OR (NOT DEFINED ENV{LINGUAS}))
set(mo_file ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
add_custom_command(OUTPUT ${mo_file} COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${mo_file} ${po_file} DEPENDS ${po_file})
- install(FILES ${mo_file} DESTINATION share/locale/${lang}/LC_MESSAGES RENAME ${package_name}.mo)
+ install(FILES ${mo_file} DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${lang}/LC_MESSAGES RENAME ${package_name}.mo)
set(mo_files ${mo_files} ${mo_file})
endif()
endforeach()