Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vcpkg config and usage #2646

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ELeeScape
Copy link

Newer versions of vcpkg require a builtin-baseline setting that specifies the minimum versions of all packages, as described here: https://learn.microsoft.com/en-us/vcpkg/users/versioning#baselines and here: https://learn.microsoft.com/en-us/vcpkg/reference/vcpkg-json#builtin-baseline. Without this setting, bootstrap-vcpkg.bat errors out with this message:

[...]
-- Running vcpkg install
error: this vcpkg instance requires a manifest with a specified baseline in order to interact with ports. Please add 'builtin-baseline' to the manifest or add a 'vcpkg-configuration.json' that redefines the default registry.
-- Running vcpkg install - failed
[...]

The environment variable that contains the location of the vcpkg tool is VCPKG_ROOT, not VCPKC_DIR, and the path may contain spaces so it needs to be quoted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant