Skip to content

Commit b5ac1ca

Browse files
[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
1 parent aafb01c commit b5ac1ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cpp/.devcontainer/base-scripts/install-vcpkg.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ check_packages() {
5151
}
5252

5353
export DEBIAN_FRONTEND=noninteractive
54+
export VCPKG_FORCE_SYSTEM_BINARIES=1
5455

5556
# Install additional packages needed by vcpkg: https://github.com/microsoft/vcpkg/blob/master/README.md#installing-linux-developer-tools
5657
check_packages build-essential tar curl zip unzip pkg-config bash-completion ninja-build

0 commit comments

Comments
 (0)