summaryrefslogtreecommitdiffstats
path: root/tdescreensaver/xsavers/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tdescreensaver/xsavers/CMakeLists.txt')
-rw-r--r--tdescreensaver/xsavers/CMakeLists.txt18
1 files changed, 12 insertions, 6 deletions
diff --git a/tdescreensaver/xsavers/CMakeLists.txt b/tdescreensaver/xsavers/CMakeLists.txt
index e636ac18..929159c1 100644
--- a/tdescreensaver/xsavers/CMakeLists.txt
+++ b/tdescreensaver/xsavers/CMakeLists.txt
@@ -33,7 +33,11 @@ tde_add_executable( kswarm.kss AUTOMOC
DESTINATION ${BIN_INSTALL_DIR}
)
-install( FILES KSwarm.desktop DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers )
+tde_create_translated_desktop(
+ SOURCE KSwarm.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdescreensaver-desktops
+)
##### kswarm #################################
@@ -42,11 +46,13 @@ if( WITH_OPENGL )
link_directories( ${OPENGL_LIBRARY_DIRS} )
tde_add_executable( kspace.kss AUTOMOC
SOURCES space.cpp ${BASE_SRCS} ${XL_SRCS}
- LINK tdeui-shared ${OPENGL_LIBRARIES}
+ LINK tdeui-shared ${OPENGL_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)
-
- install( FILES KSpace.desktop DESTINATION ${APPS_INSTALL_DIR}/System/ScreenSavers )
-endif( 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
+ )
+endif( WITH_OPENGL )