indoorvivants / sn-vcpkg

SBT/Mill plugins (and a CLI) to install C/C++ dependencies using Vcpkg (https://vcpkg.io/en/index.html), with Scala Native integration
16 stars 2 forks source link

Provide a way to update vcpkg #106

Open keynmol opened 1 year ago

keynmol commented 1 year ago
  1. Pull to latest
  2. Re-bootstrap the script

Without re-bootstrapping, you get

[error] [vcpkg stdout] CMake Error at scripts/cmake/vcpkg_minimum_required.cmake:29 (message):
[error] [vcpkg stdout]   Your vcpkg executable is from 2022-09-20 which is older than required by
[error] [vcpkg stdout]   the caller of vcpkg_minimum_required(VERSION 2022-10-12).  Please
[error] [vcpkg stdout]   re-acquire vcpkg by running bootstrap-vcpkg.
[error] [vcpkg stdout] Call Stack (most recent call first):
[error] [vcpkg stdout]   scripts/ports.cmake:87 (vcpkg_minimum_required)