diff options
author | Robert Tari <robert@tari.in> | 2021-10-20 20:24:03 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-21 11:21:58 +0200 |
commit | e671e0e4a44ec796a3be4496bbab1a603f9bd11b (patch) | |
tree | 0131aaef5df86dabcd845271e9b24bdc11b679c2 /po/CMakeLists.txt | |
parent | 590f9614f0d9a48026dd9618bf6213b16968be1a (diff) | |
download | ayatana-indicator-session-e671e0e4a44ec796a3be4496bbab1a603f9bd11b.tar.gz ayatana-indicator-session-e671e0e4a44ec796a3be4496bbab1a603f9bd11b.tar.bz2 ayatana-indicator-session-e671e0e4a44ec796a3be4496bbab1a603f9bd11b.zip |
Use native CMake Intltool module
cmake/Translations.cmake: Drop file
po/CMakeLists.txt: Use Intltool
Diffstat (limited to 'po/CMakeLists.txt')
-rw-r--r-- | po/CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index c47d584..0b2b2a1 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -1,3 +1,6 @@ -include (Translations) -add_translations_directory ("${GETTEXT_PACKAGE}") -add_translations_catalog ("${GETTEXT_PACKAGE}" ../src/ ../src/dbus-backend) +find_package(Intltool REQUIRED) + +intltool_install_translations( + ALL + GETTEXT_PACKAGE ${GETTEXT_PACKAGE} +) |