summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-01-30 21:06:57 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-01-30 21:31:49 +0200
commit891c6cc5a45d1d05e3ac06e62a31ae65db4f125b (patch)
tree11485f3e1a68f5e75f86cb008c64a152c0578079 /src/CMakeLists.txt
parent807ddc214a6f312ec23837fc6e0f6f3c96b836a4 (diff)
downloadklamav-891c6cc5a45d1d05e3ac06e62a31ae65db4f125b.tar.gz
klamav-891c6cc5a45d1d05e3ac06e62a31ae65db4f125b.zip
Reworked desktop files translation.
The translations themselves are now stored separately from the .desktop files and the eventsrc. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1e9206d..c6c8a91 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -55,19 +55,25 @@ tde_add_executable( ${PROJECT_NAME} AUTOMOC
DESTINATION ${BIN_INSTALL_DIR}
)
-tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
+##### create translated desktop files
tde_create_translated_desktop(
- SOURCE eventsrc
- DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
+ SOURCE klamav.desktop
+ PO_DIR desktop_files/
)
-##### install servicemenu
tde_create_translated_desktop(
SOURCE klamav-dropdown.desktop
+ PO_DIR desktop_files/
DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
)
+tde_create_translated_desktop(
+ SOURCE eventsrc
+ PO_DIR klamav-eventsrc/
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
+)
+
##### install XML-GUI resource file
install(
FILES klamavui.rc