From b5ac1cab6fec7cd0ea076a2a09baf2d18d20f6d4 Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Mon, 6 May 2024 16:10:30 -0700 Subject: [PATCH] [Cpp] Fix "Environment variable VCPKG_FORCE_SYSTEM_BINARIES must be set on arm" error (#1051) * [Cpp] Fix "Environment variable VCPKG_FORCE_SYSTEM_BINARIES must be set on arm" error * format doc * Use `export` instead of containerEnv * undo formatting --- src/cpp/.devcontainer/base-scripts/install-vcpkg.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cpp/.devcontainer/base-scripts/install-vcpkg.sh b/src/cpp/.devcontainer/base-scripts/install-vcpkg.sh index 771133459..2535d6598 100644 --- a/src/cpp/.devcontainer/base-scripts/install-vcpkg.sh +++ b/src/cpp/.devcontainer/base-scripts/install-vcpkg.sh @@ -51,6 +51,7 @@ check_packages() { } export DEBIAN_FRONTEND=noninteractive +export VCPKG_FORCE_SYSTEM_BINARIES=1 # Install additional packages needed by vcpkg: https://github.com/microsoft/vcpkg/blob/master/README.md#installing-linux-developer-tools check_packages build-essential tar curl zip unzip pkg-config bash-completion ninja-build