From 781afd86a38364dd59ea9ce6cd2a7eea6c81ae0c Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 21 Jan 2019 19:32:57 +0100 Subject: [PATCH] Replace tabs by 4 spaces in cmake build system files --- cmake/modules/CPackInstallConfig.cmake | 8 ++++---- cmake/modules/MacrosAutotools.cmake | 20 ++++++++++---------- cmake/modules/ProjectSourceGroup.cmake | 22 +++++++++++----------- 3 files changed, 25 insertions(+), 25 deletions(-) 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==