summaryrefslogtreecommitdiffstats
path: root/arts
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-08 01:19:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-08 01:19:44 +0200
commitd85138e2f298203078304d2e57d8ee66a6b3e377 (patch)
tree2b718dba79531e77cb6b0d9f62e820370dfae55d /arts
parenta0b27c9ebcdb566823f816fca011e117949a9ad9 (diff)
downloadtdemultimedia-d85138e2f298203078304d2e57d8ee66a6b3e377.tar.gz
tdemultimedia-d85138e2f298203078304d2e57d8ee66a6b3e377.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 57d55cfe629741a0c7b4f5d83792ae8546a17cde)
Diffstat (limited to 'arts')
-rw-r--r--arts/builder/CMakeLists.txt4
-rw-r--r--arts/tools/CMakeLists.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/arts/builder/CMakeLists.txt b/arts/builder/CMakeLists.txt
index 2e350faa..a8611e27 100644
--- a/arts/builder/CMakeLists.txt
+++ b/arts/builder/CMakeLists.txt
@@ -56,13 +56,13 @@ add_custom_target(
tde_create_translated_desktop(
SOURCE artsbuilder.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/artsbuilder-desktops
+ PO_DIR artsbuilder-desktops
)
tde_create_translated_desktop(
SOURCE x-artsbuilder.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/artsbuilder-desktops
+ PO_DIR artsbuilder-desktops
)
install( FILES artsbuilderui.rc DESTINATION ${DATA_INSTALL_DIR}/artsbuilder )
diff --git a/arts/tools/CMakeLists.txt b/arts/tools/CMakeLists.txt
index fab9e5c9..588c3dac 100644
--- a/arts/tools/CMakeLists.txt
+++ b/arts/tools/CMakeLists.txt
@@ -90,13 +90,13 @@ tde_add_executable( artscontrol AUTOMOC
tde_create_translated_desktop(
SOURCE artscontrol.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/artscontrol-desktops
+ PO_DIR artscontrol-desktops
)
tde_create_translated_desktop(
SOURCE artscontrolapplet.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/artscontrol-desktops
+ PO_DIR artscontrol-desktops
)
install(