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:20:52 +0200
commit2a2437b3022a990bc9cded4d07c56a0d093b2a0c (patch)
treed00dc0c66bbaf157634036e8827011d2eb8ffd4b /kfaxview
parent4421872bb29f158a742d84d0c5b06106763427f1 (diff)
downloadtdegraphics-2a2437b3022a990bc9cded4d07c56a0d093b2a0c.tar.gz
tdegraphics-2a2437b3022a990bc9cded4d07c56a0d093b2a0c.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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) ######################