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 @@ -164,6 +164,7 @@ jobs:
164
164
vs-build :
165
165
needs : ci-config
166
166
if : needs.ci-config.outputs.enabled == 'yes'
167
+ timeout-minutes : 15
167
168
env :
168
169
MSYSTEM : MINGW64
169
170
NO_PERL : 1
@@ -189,6 +190,11 @@ jobs:
189
190
## Unzip and remove the artifact
190
191
unzip artifacts.zip
191
192
rm artifacts.zip
193
+ - name : initialize vcpkg
194
+ uses : actions/checkout@v2
195
+ with :
196
+ repository : ' microsoft/vcpkg'
197
+ path : ' compat/vcbuild/vcpkg'
192
198
- name : download vcpkg artifacts
193
199
shell : powershell
194
200
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