Devcontainer: Set dynamic triplets for vcpkg cache feature
This ensures that when we set an overlay port directory for building the vcpkg cache, we set the default (and host) triplet to match the triplet files we have in each directory.
This commit is contained in:
parent
0b854ed8eb
commit
870915b594
1 changed files with 5 additions and 0 deletions
|
|
@ -7,6 +7,11 @@ set -e
|
|||
|
||||
case "$(uname -m)" in
|
||||
x86_64|x64)
|
||||
export VCPKG_DEFAULT_TRIPLET=x64-linux-dynamic
|
||||
;;
|
||||
aarch64|arm64)
|
||||
export VCPKG_DEFAULT_TRIPLET=arm64-linux-dynamic
|
||||
export VCPKG_FORCE_SYSTEM_BINARIES=1
|
||||
;;
|
||||
*)
|
||||
export VCPKG_FORCE_SYSTEM_BINARIES=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue