diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-08 01:19:10 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-08 01:19:44 +0200 |
commit | d85138e2f298203078304d2e57d8ee66a6b3e377 (patch) | |
tree | 2b718dba79531e77cb6b0d9f62e820370dfae55d /kaboodle/CMakeLists.txt | |
parent | a0b27c9ebcdb566823f816fca011e117949a9ad9 (diff) | |
download | tdemultimedia-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 'kaboodle/CMakeLists.txt')
-rw-r--r-- | kaboodle/CMakeLists.txt | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/kaboodle/CMakeLists.txt b/kaboodle/CMakeLists.txt index fc28aed6..85cb017b 100644 --- a/kaboodle/CMakeLists.txt +++ b/kaboodle/CMakeLists.txt @@ -75,7 +75,7 @@ tde_add_executable( kaboodle AUTOMOC tde_create_translated_desktop( SOURCE kaboodle.desktop - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaboodle-desktops + PO_DIR kaboodle-desktops ) install( @@ -83,10 +83,8 @@ install( DESTINATION ${DATA_INSTALL_DIR}/kaboodle ) -foreach( _service kaboodle_component.desktop kaboodleengine.desktop ) - tde_create_translated_desktop( - SOURCE ${_service} - DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kaboodle-desktops - ) -endforeach() +tde_create_translated_desktop( + SOURCE kaboodle_component.desktop kaboodleengine.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kaboodle-desktops +) |