Improve compatibility with sles11

This commit is contained in:
Jean-Marcel Flach 2015-04-21 15:26:31 +02:00
parent c1875c8d7a
commit d898350b68
1 changed files with 1 additions and 2 deletions

View File

@ -63,7 +63,6 @@ if(GIT_EXECUTABLE)
if (git_version MATCHES "^git version [0-9]") if (git_version MATCHES "^git version [0-9]")
string(REPLACE "git version " "" GIT_VERSION_STRING "${git_version}") string(REPLACE "git version " "" GIT_VERSION_STRING "${git_version}")
endif() endif()
unset(git_version)
endif() endif()
# Handle the QUIETLY and REQUIRED arguments and set GIT_FOUND to TRUE if # Handle the QUIETLY and REQUIRED arguments and set GIT_FOUND to TRUE if