mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 01:19:00 +08:00
Allow to use git.cmd in addition to git.exe
In respect of #682 and https://cmake.org/Bug/bug_relationship_graph.php?bug_id=9879.
This commit is contained in:
parent
128ba92fee
commit
9aa7c944f2
@ -22,7 +22,7 @@
|
||||
function(vcpkg_apply_patches)
|
||||
cmake_parse_arguments(_ap "QUIET" "SOURCE_PATH" "PATCHES" ${ARGN})
|
||||
|
||||
find_program(GIT git)
|
||||
find_program(GIT NAMES git git.cmd)
|
||||
set(PATCHNUM 0)
|
||||
foreach(PATCH ${_ap_PATCHES})
|
||||
message(STATUS "Applying patch ${PATCH}")
|
||||
|
Loading…
Reference in New Issue
Block a user