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:
163
163
vs-build :
164
164
needs : ci-config
165
165
if : needs.ci-config.outputs.enabled == 'yes'
166
+ timeout-minutes : 15
166
167
env :
167
168
MSYSTEM : MINGW64
168
169
NO_PERL : 1
@@ -188,6 +189,11 @@ jobs:
188
189
## Unzip and remove the artifact
189
190
unzip artifacts.zip
190
191
rm artifacts.zip
192
+ - name : initialize vcpkg
193
+ uses : actions/checkout@v2
194
+ with :
195
+ repository : ' microsoft/vcpkg'
196
+ path : ' compat/vcbuild/vcpkg'
191
197
- name : download vcpkg artifacts
192
198
shell : powershell
193
199
run : |
Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ if(WIN32)
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 )
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" )
61
65
endif ()
62
66
63
67
find_program (SH_EXE sh PATHS "C:/Program Files/Git/bin" )
You can’t perform that action at this time.
0 commit comments