summaryrefslogtreecommitdiffstats
path: root/kdpkg-install/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-24 09:56:16 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-24 09:56:16 +0200
commit4b46227c04deca66c831446190f9f6bb98511996 (patch)
treecf06397e1514c686f545d37fe003c1b36db4d248 /kdpkg-install/CMakeLists.txt
parentf1a89342b155d967f290cccfcacd3de8261b350a (diff)
downloadkdpkg-4b46227c04deca66c831446190f9f6bb98511996.tar.gz
kdpkg-4b46227c04deca66c831446190f9f6bb98511996.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 <slavek.banko@axis.cz>
Diffstat (limited to 'kdpkg-install/CMakeLists.txt')
-rw-r--r--kdpkg-install/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/kdpkg-install/CMakeLists.txt b/kdpkg-install/CMakeLists.txt
index 0dc2bf9..9ee0c1c 100644
--- a/kdpkg-install/CMakeLists.txt
+++ b/kdpkg-install/CMakeLists.txt
@@ -36,10 +36,7 @@ tde_add_executable( ${PROJECT_NAME}-install AUTOMOC
##### other data
-install(
- FILES ${PROJECT_NAME}-install.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( ${PROJECT_NAME}-install.desktop )
install(
PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/sh/${PROJECT_NAME}-sh