diff options
author | Ray-V <ray-v@inbox.lv> | 2020-06-20 15:33:05 +0100 |
---|---|---|
committer | Ray-V <ray-v@inbox.lv> | 2020-06-21 14:28:56 +0100 |
commit | d8aff777a4e743d7bec0fee3fcaa9d71dc941ed1 (patch) | |
tree | ea537516ed1eee62c82c162c267546e3ef10d8e0 | |
parent | a90882367fc1b8063c796a5fc42535b84578f01b (diff) | |
download | kkbswitch-d8aff777a4e743d7bec0fee3fcaa9d71dc941ed1.tar.gz kkbswitch-d8aff777a4e743d7bec0fee3fcaa9d71dc941ed1.zip |
Add translations to both .desktop files
Signed-off-by: Ray-V <ray-v@inbox.lv>
-rw-r--r-- | kkbswitch/CMakeLists.txt | 9 |
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( |