summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRay-V <ray-v@inbox.lv>2020-06-20 15:33:05 +0100
committerRay-V <ray-v@inbox.lv>2020-06-21 14:28:56 +0100
commitd8aff777a4e743d7bec0fee3fcaa9d71dc941ed1 (patch)
treeea537516ed1eee62c82c162c267546e3ef10d8e0
parenta90882367fc1b8063c796a5fc42535b84578f01b (diff)
downloadkkbswitch-d8aff777.tar.gz
kkbswitch-d8aff777.zip
Add translations to both .desktop files
Signed-off-by: Ray-V <ray-v@inbox.lv>
-rw-r--r--kkbswitch/CMakeLists.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/kkbswitch/CMakeLists.txt b/kkbswitch/CMakeLists.txt
index 88e79da..c91c59e 100644
--- a/kkbswitch/CMakeLists.txt
+++ b/kkbswitch/CMakeLists.txt
@@ -45,14 +45,11 @@ tde_add_executable( ${PROJECT_NAME} AUTOMOC
##### other data
-tde_create_translated_desktop(
- SOURCE ${PROJECT_NAME}.desktop
- DESTINATION ${AUTOSTART_INSTALL_DIR}
-)
+tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.desktop
+ DESTINATION ${AUTOSTART_INSTALL_DIR}
)
install(