From d898350b681b2fd2fe1170b9df62e5e4fb6ddfa9 Mon Sep 17 00:00:00 2001 From: Jean-Marcel Flach Date: Tue, 21 Apr 2015 15:26:31 +0200 Subject: [PATCH] Improve compatibility with sles11 --- third-party/cmake/FindGit.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/third-party/cmake/FindGit.cmake b/third-party/cmake/FindGit.cmake index 1d79f61df..d23e6f1ca 100644 --- a/third-party/cmake/FindGit.cmake +++ b/third-party/cmake/FindGit.cmake @@ -63,7 +63,6 @@ if(GIT_EXECUTABLE) if (git_version MATCHES "^git version [0-9]") string(REPLACE "git version " "" GIT_VERSION_STRING "${git_version}") endif() - unset(git_version) endif() # Handle the QUIETLY and REQUIRED arguments and set GIT_FOUND to TRUE if @@ -71,4 +70,4 @@ endif() include(FindPackageHandleStandardArgs) find_package_handle_standard_args(Git GIT_EXECUTABLE - GIT_VERSION_STRING) \ No newline at end of file + GIT_VERSION_STRING) -- 2.40.0