mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-17 13:23:05 -05:00
cmake(install): include vcpkg dlls
Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
This commit is contained in:
committed by
Johannes Schindelin
parent
fdf70a8bd3
commit
7ffb8ccbdc
@@ -58,6 +58,10 @@ if(WIN32)
|
||||
|
||||
# In the vcpkg edition, we need this to be able to link to libcurl
|
||||
set(CURL_NO_CURL_CMAKE ON)
|
||||
|
||||
# Copy the necessary vcpkg DLLs (like iconv) to the install dir
|
||||
set(X_VCPKG_APPLOCAL_DEPS_INSTALL ON)
|
||||
set(CMAKE_TOOLCHAIN_FILE ${VCPKG_DIR}/scripts/buildsystems/vcpkg.cmake CACHE STRING "Vcpkg toolchain file")
|
||||
endif()
|
||||
|
||||
find_program(SH_EXE sh PATHS "C:/Program Files/Git/bin")
|
||||
|
||||
Reference in New Issue
Block a user