summaryrefslogtreecommitdiffstats
path: root/tdescreensaver
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:40:42 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:40:42 +0200
commit1e91884c7c3990f5d5e7dafb028e558a4852568c (patch)
tree487c8c145853e3f8a26c5a2e47e8b07094ae635c /tdescreensaver
parent2098ac13dea17eeef1ec20973af95af50df12593 (diff)
downloadtdeartwork-1e91884c7c3990f5d5e7dafb028e558a4852568c.tar.gz
tdeartwork-1e91884c7c3990f5d5e7dafb028e558a4852568c.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdescreensaver')
-rw-r--r--tdescreensaver/kdesavers/CMakeLists.txt2
-rw-r--r--tdescreensaver/kxsconfig/CMakeLists.txt2
-rw-r--r--tdescreensaver/tdepartsaver/CMakeLists.txt2
-rw-r--r--tdescreensaver/xsavers/CMakeLists.txt4
4 files changed, 5 insertions, 5 deletions
diff --git a/tdescreensaver/kdesavers/CMakeLists.txt b/tdescreensaver/kdesavers/CMakeLists.txt
index 16eb09a8..0f479186 100644
--- a/tdescreensaver/kdesavers/CMakeLists.txt
+++ b/tdescreensaver/kdesavers/CMakeLists.txt
@@ -135,7 +135,7 @@ foreach( saver ${SCREENSAVERS} )
tde_create_translated_desktop(
SOURCE ${${saver}_DESKTOP}
DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops
+ PO_DIR tdescreensaver-desktops
)
endforeach( saver ${SCREENSAVERS} )
diff --git a/tdescreensaver/kxsconfig/CMakeLists.txt b/tdescreensaver/kxsconfig/CMakeLists.txt
index bbc9370b..442b7b49 100644
--- a/tdescreensaver/kxsconfig/CMakeLists.txt
+++ b/tdescreensaver/kxsconfig/CMakeLists.txt
@@ -60,7 +60,7 @@ foreach(_currentdesktopfile ${_desktopfiles})
tde_create_translated_desktop(
SOURCE ${_currentdesktopfile}
DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops
+ PO_DIR tdescreensaver-desktops
)
else(XSCREENSAVER_FILE_FOUND)
MESSAGE(STATUS "xscreensaver name ${_screensaverName} not found")
diff --git a/tdescreensaver/tdepartsaver/CMakeLists.txt b/tdescreensaver/tdepartsaver/CMakeLists.txt
index 496be133..4a7e9dff 100644
--- a/tdescreensaver/tdepartsaver/CMakeLists.txt
+++ b/tdescreensaver/tdepartsaver/CMakeLists.txt
@@ -24,7 +24,7 @@ link_directories(
tde_create_translated_desktop(
SOURCE tdepartsaver.desktop
DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops
+ PO_DIR tdescreensaver-desktops
)
##### kpart_cde ##################################
diff --git a/tdescreensaver/xsavers/CMakeLists.txt b/tdescreensaver/xsavers/CMakeLists.txt
index 929159c1..8ca15f8c 100644
--- a/tdescreensaver/xsavers/CMakeLists.txt
+++ b/tdescreensaver/xsavers/CMakeLists.txt
@@ -36,7 +36,7 @@ tde_add_executable( kswarm.kss AUTOMOC
tde_create_translated_desktop(
SOURCE KSwarm.desktop
DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops
+ PO_DIR tdescreensaver-desktops
)
##### kswarm #################################
@@ -53,6 +53,6 @@ if( WITH_OPENGL )
tde_create_translated_desktop(
SOURCE KSpace.desktop
DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops
+ PO_DIR tdescreensaver-desktops
)
endif( WITH_OPENGL )