aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorpravic <ehysta@gmail.com>2017-02-21 08:24:14 +0300
committerGitHub <noreply@github.com>2017-02-21 08:24:14 +0300
commit9aa7c944f21b8adec37b1da04145708ff621dcd7 (patch)
treeeb9dc304f06eba3a81a7ac263680851191eaf5bf /scripts
parent128ba92feeba2f474d19a5fc738fb60338b5e70a (diff)
downloadvcpkg-9aa7c944f21b8adec37b1da04145708ff621dcd7.tar.gz
vcpkg-9aa7c944f21b8adec37b1da04145708ff621dcd7.zip
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_apply_patches.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_apply_patches.cmake b/scripts/cmake/vcpkg_apply_patches.cmake
index e17d53b08..1ef138a1e 100644
--- a/scripts/cmake/vcpkg_apply_patches.cmake
+++ b/scripts/cmake/vcpkg_apply_patches.cmake
@@ -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}")