~unity8-desktop-session-team/indicator-session/indicator-session-using-upstart

« back to all changes in this revision

Viewing changes to cmake/Translations.cmake

  • Committer: Charles Kerr
  • Date: 2013-07-02 00:26:11 UTC
  • mto: This revision was merged to the branch mainline in revision 399.
  • Revision ID: charles.kerr@canonical.com-20130702002611-lhtxz8ouz9uc2ldx
in cmake/Translations.cmake, use the GNUInstallDirs variables

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
        add_custom_command (TARGET i18n COMMAND ${MSGFMT_EXECUTABLE} -o ${MO_OUTPUT} ${PO_INPUT})
11
11
 
12
12
        install (FILES ${MO_OUTPUT} DESTINATION
13
 
            share/locale/${PO_INPUT_BASE}/LC_MESSAGES
 
13
            ${CMAKE_INSTALL_LOCALEDIR}/LC_MESSAGES
14
14
            RENAME ${NLS_PACKAGE}.mo)
15
15
    endforeach (PO_INPUT ${PO_FILES})
16
16
endmacro(add_translations_directory)