summaryrefslogtreecommitdiffstats
path: root/kghostview/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-07-08 01:20:52 +0200
committerSlávek Banko <[email protected]>2020-07-08 01:21:07 +0200
commit21fd56c7072548ecf1487c244006157c7af67a32 (patch)
treedf7af1f8a853e1862ecdb66cc5698270fdb6071a /kghostview/CMakeLists.txt
parent08a668ab207d7a0da16e730f34825baa5a78fa57 (diff)
downloadtdegraphics-21fd56c7072548ecf1487c244006157c7af67a32.tar.gz
tdegraphics-21fd56c7072548ecf1487c244006157c7af67a32.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 2a2437b3022a990bc9cded4d07c56a0d093b2a0c)
Diffstat (limited to 'kghostview/CMakeLists.txt')
-rw-r--r--kghostview/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/kghostview/CMakeLists.txt b/kghostview/CMakeLists.txt
index cc2debfa..11e30d20 100644
--- a/kghostview/CMakeLists.txt
+++ b/kghostview/CMakeLists.txt
@@ -31,13 +31,13 @@ tde_install_icons( kghostview )
tde_create_translated_desktop(
SOURCE kghostview.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kghostview-desktops
+ PO_DIR kghostview-desktops
)
tde_create_translated_desktop(
SOURCE kghostview_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kghostview-desktops
+ PO_DIR kghostview-desktops
)
install( FILES kgv_part.rc kghostviewui.rc DESTINATION ${DATA_INSTALL_DIR}/kghostview )