From: Ralf Habacker Date: Mon, 21 Jan 2019 18:32:57 +0000 (+0100) Subject: Replace tabs by 4 spaces in cmake build system files X-Git-Tag: dbus-1.13.10~20^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=781afd86a38364dd59ea9ce6cd2a7eea6c81ae0c;p=thirdparty%2Fdbus.git Replace tabs by 4 spaces in cmake build system files --- diff --git a/cmake/modules/CPackInstallConfig.cmake b/cmake/modules/CPackInstallConfig.cmake index 5074347e3..bf47cbbcc 100644 --- a/cmake/modules/CPackInstallConfig.cmake +++ b/cmake/modules/CPackInstallConfig.cmake @@ -1,9 +1,9 @@ if (DBUS_INSTALL_SYSTEM_LIBS) - if (MINGW) - else (MINGW) - INCLUDE(InstallRequiredSystemLibraries) - endif (MINGW) + if (MINGW) + else (MINGW) + INCLUDE(InstallRequiredSystemLibraries) + endif (MINGW) install(FILES ${LIBEXPAT_LIBRARIES} DESTINATION ${CMAKE_INSTALL_BINDIR}) endif (DBUS_INSTALL_SYSTEM_LIBS) diff --git a/cmake/modules/MacrosAutotools.cmake b/cmake/modules/MacrosAutotools.cmake index 888d5e722..d770b949d 100644 --- a/cmake/modules/MacrosAutotools.cmake +++ b/cmake/modules/MacrosAutotools.cmake @@ -155,14 +155,14 @@ endmacro(autoheaderchecks) # not implemented yet # macro(autoconfig template output) - file(READ ${template} contents) - # Convert file contents into a CMake list (where each element in the list - # is one line of the file) - STRING(REGEX REPLACE ";" "\\\\;" contents "${contents}") - STRING(REGEX REPLACE "\n" ";" contents "${contents}") - foreach(line contents) - message(STATUS ${line}) - # find #undef lines - # append to config.h #define - endforeach() + file(READ ${template} contents) + # Convert file contents into a CMake list (where each element in the list + # is one line of the file) + STRING(REGEX REPLACE ";" "\\\\;" contents "${contents}") + STRING(REGEX REPLACE "\n" ";" contents "${contents}") + foreach(line contents) + message(STATUS ${line}) + # find #undef lines + # append to config.h #define + endforeach() endmacro() diff --git a/cmake/modules/ProjectSourceGroup.cmake b/cmake/modules/ProjectSourceGroup.cmake index 713a67a1e..a9b3e0ad1 100644 --- a/cmake/modules/ProjectSourceGroup.cmake +++ b/cmake/modules/ProjectSourceGroup.cmake @@ -3,16 +3,16 @@ # mode==split : standard behavior of cmake, split headers and sources # mode==