summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-10 03:12:57 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-10 03:13:11 +0200
commit407337a93ee3aae6c3eacbf38e7065a7ee1f0fd8 (patch)
treea1aff28c375b2bc0c4341c562e5f2f119c12e465
parent1575f24eb22bf1187d679f5433c736d168f671f0 (diff)
downloadfilelight-407337a93ee3aae6c3eacbf38e7065a7ee1f0fd8.tar.gz
filelight-407337a93ee3aae6c3eacbf38e7065a7ee1f0fd8.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 4d4713a54c31dab5e904d715edc50da280970d2a)
-rw-r--r--misc/CMakeLists.txt7
1 files changed, 1 insertions, 6 deletions
diff --git a/misc/CMakeLists.txt b/misc/CMakeLists.txt
index b61d753..190f2d4 100644
--- a/misc/CMakeLists.txt
+++ b/misc/CMakeLists.txt
@@ -8,14 +8,9 @@ tde_install_icons( )
tde_create_translated_desktop(
SOURCE filelight_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
)
-tde_create_translated_desktop(
- SOURCE filelight.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files
-)
+tde_create_translated_desktop( filelight.desktop )
install( FILES filelightrc
DESTINATION ${CONFIG_INSTALL_DIR}