aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildLibvterm.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'third-party/cmake/BuildLibvterm.cmake')
-rw-r--r--third-party/cmake/BuildLibvterm.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/third-party/cmake/BuildLibvterm.cmake b/third-party/cmake/BuildLibvterm.cmake
index 5fb077e972..73e2990654 100644
--- a/third-party/cmake/BuildLibvterm.cmake
+++ b/third-party/cmake/BuildLibvterm.cmake
@@ -37,8 +37,8 @@ endfunction()
if(WIN32)
if(MSVC)
set(LIBVTERM_PATCH_COMMAND
- git -C ${DEPS_BUILD_DIR}/src/libvterm init
- COMMAND git -C ${DEPS_BUILD_DIR}/src/libvterm apply
+ ${GIT_EXECUTABLE} -C ${DEPS_BUILD_DIR}/src/libvterm init
+ COMMAND ${GIT_EXECUTABLE} -C ${DEPS_BUILD_DIR}/src/libvterm apply
${CMAKE_CURRENT_SOURCE_DIR}/patches/libvterm-Remove-VLAs-for-MSVC.patch)
endif()
set(LIBVTERM_CONFIGURE_COMMAND ${CMAKE_COMMAND} -E copy