aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-07-01 19:26:11 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-07-01 19:26:11 -0500
commitca86fd5c9dae0ef231394f5b1cf98645c7312f9a (patch)
treeca895e726625ace6bb63d82111c473acd7398f80 /cmake
parent477dc6fa22bcd37b23deb45b57bec6518ba52ad9 (diff)
downloadayatana-indicator-session-ca86fd5c9dae0ef231394f5b1cf98645c7312f9a.tar.gz
ayatana-indicator-session-ca86fd5c9dae0ef231394f5b1cf98645c7312f9a.tar.bz2
ayatana-indicator-session-ca86fd5c9dae0ef231394f5b1cf98645c7312f9a.zip
in cmake/Translations.cmake, use the GNUInstallDirs variables
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Translations.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Translations.cmake b/cmake/Translations.cmake
index f069a15..178bded 100644
--- a/cmake/Translations.cmake
+++ b/cmake/Translations.cmake
@@ -10,7 +10,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_LOCALEDIR}/LC_MESSAGES
RENAME ${NLS_PACKAGE}.mo)
endforeach (PO_INPUT ${PO_FILES})
endmacro(add_translations_directory)