install_windows_protobuf.ps1 322 B

123456789
  1. # Copyright The OpenTelemetry Authors
  2. # SPDX-License-Identifier: Apache-2.0
  3. $ErrorActionPreference = "Stop"
  4. trap { $host.SetShouldExit(1) }
  5. cd tools/vcpkg
  6. # Lock to specific version of Protobuf port file to avoid build break
  7. ./vcpkg "--vcpkg-root=$PWD" install --overlay-ports="$PSScriptRoot\ports" protobuf:x64-windows