#!/bin/bash
#
# This script can be sourced to ensure VCPKG_ROOT points at a bootstrapped vcpkg repository.
# It will also modify the environment (if sourced) to reflect any overrides in
# vcpkg triplet used neccesary to match the semantics of vcpkg-rs.

if [ "$VCPKG_ROOT" == "" ]; then
  echo "VCPKG_ROOT must be set."
  exit 1
