Merge pull request #698 from pravic/patch-1

Allow to use git.cmd in addition to git.exe
This commit is contained in:
Robert Schumacher 2017-02-20 21:46:19 -08:00 committed by GitHub
commit 7459156943

View File

@ -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}")