From 505e59f822d4a03db4f28813a91dcb1150480f1f Mon Sep 17 00:00:00 2001 From: Ray-V Date: Sat, 20 Jun 2020 15:33:05 +0100 Subject: [PATCH] Add translations to both .desktop files Signed-off-by: Ray-V (cherry picked from commit d8aff777a4e743d7bec0fee3fcaa9d71dc941ed1) --- kkbswitch/CMakeLists.txt | 9 +++------ 1 file 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(