diff options
author | Ray-V <[email protected]> | 2020-06-20 15:33:05 +0100 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-06-23 17:56:07 +0900 |
commit | 505e59f822d4a03db4f28813a91dcb1150480f1f (patch) | |
tree | 84e1ad821fc8079c9afac8fdf0e8a09bd0922613 | |
parent | 2ab3286b6efb576bcc3548bbfe33c015ca4ec824 (diff) | |
download | kkbswitch-505e59f822d4a03db4f28813a91dcb1150480f1f.tar.gz kkbswitch-505e59f822d4a03db4f28813a91dcb1150480f1f.zip |
Add translations to both .desktop files
Signed-off-by: Ray-V <[email protected]>
(cherry picked from commit d8aff777a4e743d7bec0fee3fcaa9d71dc941ed1)
-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( |