mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
Improve compatibility with sles11
This commit is contained in:
parent
c1875c8d7a
commit
d898350b68
3
third-party/cmake/FindGit.cmake
vendored
3
third-party/cmake/FindGit.cmake
vendored
@ -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
|
||||||
@ -71,4 +70,4 @@ endif()
|
|||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
find_package_handle_standard_args(Git GIT_EXECUTABLE
|
find_package_handle_standard_args(Git GIT_EXECUTABLE
|
||||||
GIT_VERSION_STRING)
|
GIT_VERSION_STRING)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user