Skip to content

Commit

Permalink
[Cpp] Fix "Environment variable VCPKG_FORCE_SYSTEM_BINARIES must be s…
Browse files Browse the repository at this point in the history
…et 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
  • Loading branch information
samruddhikhandale committed May 6, 2024
1 parent aafb01c commit b5ac1ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cpp/.devcontainer/base-scripts/install-vcpkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5ac1ca

Please sign in to comment.