summaryrefslogtreecommitdiffstats
path: root/kfaxview
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-08 01:20:52 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-08 01:21:07 +0200
commit21fd56c7072548ecf1487c244006157c7af67a32 (patch)
treedf7af1f8a853e1862ecdb66cc5698270fdb6071a /kfaxview
parent08a668ab207d7a0da16e730f34825baa5a78fa57 (diff)
downloadtdegraphics-21fd56c7072548ecf1487c244006157c7af67a32.tar.gz
tdegraphics-21fd56c7072548ecf1487c244006157c7af67a32.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 2a2437b3022a990bc9cded4d07c56a0d093b2a0c)
Diffstat (limited to 'kfaxview')
-rw-r--r--kfaxview/CMakeLists.txt14
1 files changed, 6 insertions, 8 deletions
diff --git a/kfaxview/CMakeLists.txt b/kfaxview/CMakeLists.txt
index df43f9d0..a50133bb 100644
--- a/kfaxview/CMakeLists.txt
+++ b/kfaxview/CMakeLists.txt
@@ -33,18 +33,16 @@ tde_install_icons( kfaxview )
tde_create_translated_desktop(
SOURCE kfaxview.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kfaxview-desktops
+ PO_DIR kfaxview-desktops
)
install( FILES ${CMAKE_SOURCE_DIR}/kviewshell/kviewshell.rc DESTINATION ${DATA_INSTALL_DIR}/kfaxview/kviewshell.rc )
-foreach( _desktop kfaxmultipage.desktop kfaxmultipage_tiff.desktop )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kfaxview-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE kfaxmultipage.desktop kfaxmultipage_tiff.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kfaxview-desktops
+)
#### kfaxviewpart (module) ######################