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

Detect parent project VCPKG #7

Open
dbs4261 opened this issue Sep 3, 2024 · 0 comments
Open

Detect parent project VCPKG #7

dbs4261 opened this issue Sep 3, 2024 · 0 comments

Comments

@dbs4261
Copy link

dbs4261 commented Sep 3, 2024

Check for existing VCPKG usage in a consuming project and dispatch to that implementation. This could be done using the Z_VCPKG_ROOT_DIR variable defined in the toolchain file vcpkg/scripts/buildsystems/vcpkg.cmake. This should also look up the necessary parameters for VCPKG setup, for example using the existing commit and not creating a new directory tree. This is required if the consuming package is in manifest mode:

error: In manifest mode, `vcpkg install` does not support individual package arguments.
To install additional packages, edit vcpkg.json and then run `vcpkg install` without any package arguments.
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

No branches or pull requests

1 participant