summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-10 03:25:04 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-10 03:26:07 +0200
commit79ee9037297abc5179b0af7decdf38c11e9040a9 (patch)
tree20be68c6356cf471cb5a5c3766959caea9e4e07f
parent8ca0f6c9eecdd19a26b15954bc29f1cae3f53433 (diff)
downloadksplash-engine-moodin-79ee9037297abc5179b0af7decdf38c11e9040a9.tar.gz
ksplash-engine-moodin-79ee9037297abc5179b0af7decdf38c11e9040a9.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit bb85240163556c2e906b7bb06012455b89ad86a3)
-rw-r--r--src/themes/FingerPrint/CMakeLists.txt2
-rw-r--r--src/themes/MoodinKDE/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/themes/FingerPrint/CMakeLists.txt b/src/themes/FingerPrint/CMakeLists.txt
index fa5afec..920186d 100644
--- a/src/themes/FingerPrint/CMakeLists.txt
+++ b/src/themes/FingerPrint/CMakeLists.txt
@@ -9,5 +9,5 @@ tde_create_translated_desktop(
SOURCE Theme.rc
KEYWORDS Label1 Label2 Label3 Label4 Label5
DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/FingerPrint
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/themes
+ PO_DIR themes
)
diff --git a/src/themes/MoodinKDE/CMakeLists.txt b/src/themes/MoodinKDE/CMakeLists.txt
index 68afed2..ca6a7d1 100644
--- a/src/themes/MoodinKDE/CMakeLists.txt
+++ b/src/themes/MoodinKDE/CMakeLists.txt
@@ -9,5 +9,5 @@ tde_create_translated_desktop(
SOURCE Theme.rc
KEYWORDS Label1 Label2 Label3 Label4 Label5
DESTINATION ${DATA_INSTALL_DIR}/ksplash/Themes/MoodinKDE
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/themes
+ PO_DIR themes
)