Skip to content

Commit 9adf797

Browse files
committed
update vcpkg script to properly install ARM64 packages
Signed-off-by: Ian Bearman <[email protected]>
1 parent a37a841 commit 9adf797

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

compat/vcbuild/vcpkg_install.bat

+8-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,15 @@ REM ================================================================
5555
echo Successfully installed %cwd%vcpkg\vcpkg.exe
5656

5757
:install_libraries
58-
SET arch=x64-windows
58+
CALL :install_libraries_arch x64-windows
59+
IF ERRORLEVEL 1 GOTO :EOF
60+
CALL :install_libraries_arch arm64-windows
61+
goto :EOF
62+
63+
:install_libraries_arch
64+
SET arch=%1
5965

60-
echo Installing third-party libraries...
66+
echo Installing third-party libraries(%1)...
6167
FOR %%i IN (zlib expat libiconv openssl libssh2 curl) DO (
6268
cd %cwd%vcpkg
6369
IF NOT EXIST "packages\%%i_%arch%" CALL :sub__install_one %%i

0 commit comments

Comments
 (0)