Skip to content

Do I have to specify all dependencies in both the vcpkg.json file in the project repository AND in the port? #43679

Closed Answered by ccpjosephf
ccpjosephf asked this question in Q&A
Discussion options

You must be logged in to vote

Answering my own question:
Part 1:

Do I have to specify all dependencies in both the vcpkg.json file in the project repository AND in the port?

Yes, as per this discussion: #33673

Part 2:

Is there any way of making it so that package-b can continue using the custom registry as default, without having to know about where it's dependecies' dependencies are from?

as per the vcpkg-configuration.json reference https://learn.microsoft.com/en-us/vcpkg/reference/vcpkg-configuration-json
Only the top-level project's vcpkg-configuration.json file is used, and any packages that are not specifically mentioned in registries and that that are not contained within the default regsitry will fail to r…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ccpjosephf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant