summaryrefslogtreecommitdiffstats
path: root/kwordquiz/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:35:29 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:35:51 +0200
commita22f9a51cca647a6a194bccc338800fcba2de39d (patch)
tree07894962afddd872b8672e8f17cb69e26025eb74 /kwordquiz/src
parent05f4389305dbb19194dbb5f6a1ad762a74057119 (diff)
downloadtdeedu-a22f9a51cca647a6a194bccc338800fcba2de39d.tar.gz
tdeedu-a22f9a51cca647a6a194bccc338800fcba2de39d.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit b845a73b7eb95f7928b2079b8a594a6b7b2ccb7d)
Diffstat (limited to 'kwordquiz/src')
-rw-r--r--kwordquiz/src/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/kwordquiz/src/CMakeLists.txt b/kwordquiz/src/CMakeLists.txt
index 881a9e7a..2128055e 100644
--- a/kwordquiz/src/CMakeLists.txt
+++ b/kwordquiz/src/CMakeLists.txt
@@ -80,18 +80,18 @@ install(
tde_create_translated_desktop(
SOURCE eventsrc
DESTINATION ${DATA_INSTALL_DIR}/kwordquiz
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kwordquiz-events
+ PO_DIR kwordquiz-events
)
tde_create_translated_desktop(
SOURCE kwordquiz.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kwordquiz-desktops
+ PO_DIR kwordquiz-desktops
)
tde_create_translated_desktop(
SOURCE x-kwordquiz.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kwordquiz-desktops
+ PO_DIR kwordquiz-desktops
)
install(