mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
build/msvc: Add Git as a requirement for Windows patches
This commit is contained in:
7
third-party/CMakeLists.txt
vendored
7
third-party/CMakeLists.txt
vendored
@@ -50,6 +50,13 @@ endif()
|
||||
|
||||
option(USE_EXISTING_SRC_DIR "Skip download of deps sources in case of existing source directory." OFF)
|
||||
|
||||
if(WIN32)
|
||||
find_package(Git)
|
||||
if(NOT Git_FOUND)
|
||||
message(FATAL_ERROR "Git is required to apply patches for Windows.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(UNIX)
|
||||
find_program(MAKE_PRG NAMES gmake make)
|
||||
if(MAKE_PRG)
|
||||
|
||||
Reference in New Issue
Block a user