Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove VCPKG_FORCE_SYSTEM_BINARIES
  • Loading branch information
tarebyte committed Apr 30, 2024
commit b21ecac2703980176625a5842d88c1a28230176d
9 changes: 0 additions & 9 deletions src/cpp/.devcontainer/base-scripts/install-vcpkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ if [ "$(dpkg --print-architecture)" = "arm64" ]; then
echo "OS ${VERSION_CODENAME} ARM64 pkg repo installs cmake version < 3.15, which is required to build Vcpkg."
exit 0
fi

export VCPKG_FORCE_SYSTEM_BINARIES=1
fi

# Add to bashrc/zshrc files for all users.
Expand Down Expand Up @@ -87,13 +85,6 @@ if [[ "\${PATH}" != *"\${VCPKG_ROOT}"* ]]; then export PATH="\${PATH}:\${VCPKG_R
EOF
)"

if [[ -n "$VCPKG_FORCE_SYSTEM_BINARIES" ]]; then
updaterc "$(cat << EOF
export VCPKG_FORCE_SYSTEM_BINARIES=1
EOF
)"
fi

# Give read/write permissions to the user group.
chown -R ":vcpkg" "${VCPKG_ROOT}" "${VCPKG_DOWNLOADS}"
chmod g+r+w+s "${VCPKG_ROOT}" "${VCPKG_DOWNLOADS}"
Expand Down