Skip to content

Commit

Permalink
Fix cmake install dirs (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
medvid authored and rilian-la-te committed Jan 28, 2018
1 parent 5623849 commit e01dec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/Translations.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down
2 changes: 1 addition & 1 deletion cmake/TranslationsMusl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e01dec2

Please sign in to comment.