summaryrefslogtreecommitdiffstats
path: root/tdescreensaver/kxsconfig/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tdescreensaver/kxsconfig/CMakeLists.txt')
-rw-r--r--tdescreensaver/kxsconfig/CMakeLists.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdescreensaver/kxsconfig/CMakeLists.txt b/tdescreensaver/kxsconfig/CMakeLists.txt
index 103203db..a00bd6d9 100644
--- a/tdescreensaver/kxsconfig/CMakeLists.txt
+++ b/tdescreensaver/kxsconfig/CMakeLists.txt
@@ -48,18 +48,18 @@ tde_add_executable( ${target} AUTOMOC
##### install desktops ##########################
# code from kde4
-FILE(GLOB _desktopfiles "ScreenSavers/*.desktop" )
+file(GLOB _desktopfiles "ScreenSavers/*.desktop" )
string( REPLACE ":" ";" SEARCH_XSCREENSAVER_CONFIG_DIRS "${XSCREENSAVER_CONFIG_DIRS}" )
foreach(_currentdesktopfile ${_desktopfiles})
- STRING(REGEX REPLACE ".desktop" "" _newitem "${_currentdesktopfile}" )
- #MESSAGE(STATUS "newItem <${_newitem}>")
- GET_FILENAME_COMPONENT(_screensaverName ${_newitem} NAME_WE)
- #MESSAGE(STATUS "name without extension <${_screensaverName}>")
+ string(REGEX REPLACE ".desktop" "" _newitem "${_currentdesktopfile}" )
+ #message(STATUS "newItem <${_newitem}>")
+ get_filename_component(_screensaverName ${_newitem} NAME_WE)
+ #message(STATUS "name without extension <${_screensaverName}>")
find_file(XSCREENSAVER_FILE_FOUND ${_screensaverName}.xml PATHS ${SEARCH_XSCREENSAVER_CONFIG_DIRS} )
if(XSCREENSAVER_FILE_FOUND)
- MESSAGE(STATUS "xscreensaver name ${_screensaverName} found")
+ message(STATUS "xscreensaver name ${_screensaverName} found")
else(XSCREENSAVER_FILE_FOUND)
- MESSAGE(STATUS "xscreensaver name ${_screensaverName} not found")
+ message(STATUS "xscreensaver name ${_screensaverName} not found")
endif(XSCREENSAVER_FILE_FOUND)
if( XSCREENSAVER_FILE_FOUND OR WITH_ALL_INCLUDED_XSCREENSAVERS )
tde_create_translated_desktop(