From 7a6a24236da6e6b21b8b9511d94b83b43f00c42f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 8 Mar 2024 12:21:31 +0900 Subject: cmake files: change keywords to lower case Signed-off-by: Michele Calgaro --- tdescreensaver/kxsconfig/CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tdescreensaver') 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( -- cgit v1.2.1