install *.mo files correctly

This commit is contained in:
Jun T 2016-02-10 16:45:37 +09:00
parent e7615ddc22
commit 0690c3358d

View File

@ -72,8 +72,8 @@ if(HAVE_WORKING_LIBINTL AND GETTEXT_FOUND AND XGETTEXT_PRG AND ICONV_PRG)
install_helper(
FILES ${moFile}
DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${name}/LC_MESSAGES
RENAME nvim.mo)
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/nvim/runtime/lang/${name}/LC_MESSAGES
RENAME vim.mo)
list(APPEND LANGUAGE_MO_FILES ${moFile})
endmacro()