From 1e91884c7c3990f5d5e7dafb028e558a4852568c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 9 Jul 2020 03:40:42 +0200 Subject: Simplify CMake rules for desktop file translations. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tdescreensaver/kdesavers/CMakeLists.txt | 2 +- tdescreensaver/kxsconfig/CMakeLists.txt | 2 +- tdescreensaver/tdepartsaver/CMakeLists.txt | 2 +- tdescreensaver/xsavers/CMakeLists.txt | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tdescreensaver') 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 ) -- cgit v1.2.1