File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ jobs:
163163 vs-build :
164164 needs : ci-config
165165 if : needs.ci-config.outputs.enabled == 'yes'
166+ timeout-minutes : 15
166167 env :
167168 MSYSTEM : MINGW64
168169 NO_PERL : 1
@@ -188,6 +189,11 @@ jobs:
188189 ## Unzip and remove the artifact
189190 unzip artifacts.zip
190191 rm artifacts.zip
192+ - name : initialize vcpkg
193+ uses : actions/checkout@v2
194+ with :
195+ repository : ' microsoft/vcpkg'
196+ path : ' compat/vcbuild/vcpkg'
191197 - name : download vcpkg artifacts
192198 shell : powershell
193199 run : |
Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ if(WIN32)
5858
5959 # In the vcpkg edition, we need this to be able to link to libcurl
6060 set (CURL_NO_CURL_CMAKE ON )
61+
62+ # Copy the necessary vcpkg DLLs (like iconv) to the install dir
63+ set (X_VCPKG_APPLOCAL_DEPS_INSTALL ON )
64+ set (CMAKE_TOOLCHAIN_FILE ${VCPKG_DIR} /scripts/buildsystems/vcpkg.cmake CACHE STRING "Vcpkg toolchain file" )
6165endif ()
6266
6367find_program (SH_EXE sh PATHS "C:/Program Files/Git/bin" )
You can’t perform that action at this time.
0 commit comments