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:36 +0200
commit692670ce772c1d412317a053b7ed9505c83eaf77 (patch)
tree0e6bc96805635b666ee6ae6df7cad8af0b1fc1ff /kdpkg-install/CMakeLists.txt
parente564eb713ae0d74979dc98275807c41c12998285 (diff)
downloadkdpkg-692670ce772c1d412317a053b7ed9505c83eaf77.tar.gz
kdpkg-692670ce772c1d412317a053b7ed9505c83eaf77.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> (cherry picked from commit 4b46227c04deca66c831446190f9f6bb98511996)
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