1
0
mirror of synced 2025-01-29 19:17:28 +01:00

build: use microsoft vcpkg repository for the web build (#1368)

This commit is contained in:
iTrooz 2023-10-14 13:31:37 +02:00 committed by GitHub
parent da1b53420f
commit 4e9cbd14eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
dist/web/Dockerfile vendored
View File

@ -9,10 +9,10 @@ RUN apt install -y git ccache autoconf automake libtool cmake pkg-config
RUN <<EOF
# Install vcpkg
# Note: we are using my fork of the repository with a libmagic patch
# Note: we are a patch on the libmagic port
set -xe
git clone https://github.com/iTrooz/vcpkg /vcpkg
git clone https://github.com/microsoft/vcpkg /vcpkg
/vcpkg/bootstrap-vcpkg.sh
sed -i 's/vcpkg_install_make(${EXTRA_ARGS})/vcpkg_install_make(${EXTRA_ARGS} SUBPATH src)/g' /vcpkg/ports/libmagic/portfile.cmake
EOF