diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-09 03:40:42 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-09 03:40:54 +0200 |
commit | bcbe4700e9612098ea94ac40ac95e23769ba5e10 (patch) | |
tree | 8fb8536f5bb8f5c955f774b26a187fbef0762359 /tdescreensaver | |
parent | eeadc3f5cae5e5f0ae2b618b0521179fe2a37cd8 (diff) | |
download | tdeartwork-bcbe4700e9612098ea94ac40ac95e23769ba5e10.tar.gz tdeartwork-bcbe4700e9612098ea94ac40ac95e23769ba5e10.zip |
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1e91884c7c3990f5d5e7dafb028e558a4852568c)
Diffstat (limited to 'tdescreensaver')
-rw-r--r-- | tdescreensaver/kdesavers/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tdescreensaver/kxsconfig/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tdescreensaver/tdepartsaver/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tdescreensaver/xsavers/CMakeLists.txt | 4 |
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 ) |