Spaces to tabs.
This commit is contained in:
parent
dde1f99f9c
commit
1b8c26f39f
1 changed files with 5 additions and 5 deletions
|
@ -1,14 +1,14 @@
|
|||
if (EXISTS revision.hpp)
|
||||
file(READ revision.hpp OLD_VERSION)
|
||||
file(READ revision.hpp OLD_VERSION)
|
||||
endif (EXISTS revision.hpp)
|
||||
|
||||
execute_process(COMMAND ${SVNVERSION_EXECUTABLE} -n ${SRC_DIR}
|
||||
OUTPUT_VARIABLE SVN_VERSION)
|
||||
OUTPUT_VARIABLE SVN_VERSION)
|
||||
|
||||
if(SVN_VERSION MATCHES [0-9]+.*)
|
||||
|
||||
if(NOT OLD_VERSION MATCHES ".*\"${SVN_VERSION}\".*")
|
||||
file(WRITE revision.hpp "#define REVISION \"${SVN_VERSION}\"\n")
|
||||
endif(NOT OLD_VERSION MATCHES ".*\"${SVN_VERSION}\".*")
|
||||
if(NOT OLD_VERSION MATCHES ".*\"${SVN_VERSION}\".*")
|
||||
file(WRITE revision.hpp "#define REVISION \"${SVN_VERSION}\"\n")
|
||||
endif(NOT OLD_VERSION MATCHES ".*\"${SVN_VERSION}\".*")
|
||||
|
||||
endif(SVN_VERSION MATCHES [0-9]+.*)
|
||||
|
|
Loading…
Add table
Reference in a new issue