summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-04-29 23:03:23 +0200
committerSlávek Banko <[email protected]>2020-04-29 23:03:35 +0200
commit0968d4ca4830fd7891f3d23da33b625eb9b574db (patch)
tree401b711e68a75e6f4baceaa371f708b9bd4564c4 /src/CMakeLists.txt
parent009b8921fd4a46820e95b4dab83ab7ad924d5418 (diff)
downloadknetstats-0968d4ca4830fd7891f3d23da33b625eb9b574db.tar.gz
knetstats-0968d4ca4830fd7891f3d23da33b625eb9b574db.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 21a01e1e32dc492df1c0afa64d1a1161fc8c8a7d)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2bbb335..ec97862 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -40,7 +40,4 @@ tde_add_executable( ${PROJECT_NAME} AUTOMOC
##### other data
-install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( ${PROJECT_NAME}.desktop )