mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 20:46:41 +08:00
[libuv] Fix usage of GIT
This commit is contained in:
parent
ea52c29e9a
commit
f2edc12561
@ -16,8 +16,11 @@ if(NOT EXISTS ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-src)
|
||||
)
|
||||
endif()
|
||||
|
||||
vcpkg_find_acquire_program(PYTHON2)
|
||||
find_program(GIT git)
|
||||
get_filename_component(GIT_EXE_PATH ${GIT} DIRECTORY)
|
||||
set(ENV{PATH} "$ENV{PATH};${GIT_EXE_PATH}")
|
||||
|
||||
vcpkg_find_acquire_program(PYTHON2)
|
||||
set(ENV{PYTHON} ${PYTHON2})
|
||||
set(ENV{GYP_MSVS_VERSION} 2015)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user