Commit 2d94b77 1 parent 2ce9837 commit 2d94b77 Copy full SHA for 2d94b77
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ if(WIN32)
52
52
set (VCPKG_DIR "${CMAKE_SOURCE_DIR} /compat/vcbuild/vcpkg" )
53
53
if (MSVC AND NOT EXISTS ${VCPKG_DIR} )
54
54
message ("Initializing vcpkg and building the Git's dependencies (this will take a while...)" )
55
- execute_process (COMMAND ${CMAKE_SOURCE_DIR} /compat/vcbuild/vcpkg_install.bat)
55
+ execute_process (COMMAND ${CMAKE_SOURCE_DIR} /compat/vcbuild/vcpkg_install.bat ${VCPKG_ARCH} )
56
56
endif ()
57
- list (APPEND CMAKE_PREFIX_PATH "${VCPKG_DIR} /installed/x64-windows " )
57
+ list (APPEND CMAKE_PREFIX_PATH "${VCPKG_DIR} /installed/${VCPKG_ARCH} " )
58
58
59
59
# In the vcpkg edition, we need this to be able to link to libcurl
60
60
set (CURL_NO_CURL_CMAKE ON )
@@ -983,7 +983,7 @@ file(APPEND ${CMAKE_BINARY_DIR}/GIT-BUILD-OPTIONS "RUNTIME_PREFIX='${RUNTIME_PRE
983
983
file (APPEND ${CMAKE_BINARY_DIR} /GIT-BUILD -OPTIONS "NO_PYTHON='${NO_PYTHON} '\n " )
984
984
file (APPEND ${CMAKE_BINARY_DIR} /GIT-BUILD -OPTIONS "SUPPORTS_SIMPLE_IPC='${SUPPORTS_SIMPLE_IPC} '\n " )
985
985
if (WIN32 )
986
- file (APPEND ${CMAKE_BINARY_DIR} /GIT-BUILD -OPTIONS "PATH=\" $PATH:$TEST_DIRECTORY/../compat/vcbuild/vcpkg/installed/x64-windows /bin\"\n " )
986
+ file (APPEND ${CMAKE_BINARY_DIR} /GIT-BUILD -OPTIONS "PATH=\" $PATH:$TEST_DIRECTORY/../compat/vcbuild/vcpkg/installed/${VCPKG_ARCH} /bin\"\n " )
987
987
endif ()
988
988
989
989
#Make the tests work when building out of the source tree
You can’t perform that action at this time.
0 commit comments