mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 16:49:01 +08:00
Merge pull request #698 from pravic/patch-1
Allow to use git.cmd in addition to git.exe
This commit is contained in:
commit
7459156943
@ -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