mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-17 22:19:19 -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
5c76a529a9
commit
ecf7ee3cd5
@@ -58,6 +58,10 @@ if(WIN32)
|
|||||||
|
|
||||||
# In the vcpkg edition, we need this to be able to link to libcurl
|
# In the vcpkg edition, we need this to be able to link to libcurl
|
||||||
set(CURL_NO_CURL_CMAKE ON)
|
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()
|
endif()
|
||||||
|
|
||||||
find_program(SH_EXE sh PATHS "C:/Program Files/Git/bin")
|
find_program(SH_EXE sh PATHS "C:/Program Files/Git/bin")
|
||||||
|
|||||||
Reference in New Issue
Block a user