File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,11 @@ for:
111111 - if "%ARCH%" == "x64" call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
112112 - if "%ARCH%" == "x86" call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars32.bat"
113113 build_script :
114+ # fix vcpkg toolchain reverting CMake policies to v3.7.2
115+ # (TODO: remove on the next image update)
116+ - git -C C:\Tools\vcpkg fetch
117+ - git -C C:\Tools\vcpkg restore -s 5cf60186a241e84e8232641ee973395d4fde90e1 scripts\buildsystems\vcpkg.cmake
118+
114119 - cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo
115120 -DVCPKG_TARGET_TRIPLET=%ARCH%-windows-static
116121 -DCMAKE_TOOLCHAIN_FILE=C:\Tools\vcpkg\scripts\buildsystems\vcpkg.cmake
You can’t perform that action at this time.
0 commit comments