diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-08 12:21:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-08 12:54:43 +0900 |
commit | 7a6a24236da6e6b21b8b9511d94b83b43f00c42f (patch) | |
tree | d214d9c0545246e6cabdd674d354fa648c5d0684 /tdescreensaver | |
parent | 224da62a5c9c95a2cec1146007edf760079a2e19 (diff) | |
download | tdeartwork-7a6a24236da6e6b21b8b9511d94b83b43f00c42f.tar.gz tdeartwork-7a6a24236da6e6b21b8b9511d94b83b43f00c42f.zip |
cmake files: change keywords to lower case
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdescreensaver')
-rw-r--r-- | tdescreensaver/kxsconfig/CMakeLists.txt | 14 |
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( |