-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
vcpkg ignores default-features: false
#31290
Comments
Duplicate of #31230 |
Didn't find it because it was only category:question. But this is a bug, right? If I'd have to specify in my manifest that I don't want the default features of a transitive dependency, |
No this is by design.
It still makes sense. Otherwise would be not able to disable the |
Let me clarify: It doesn't make sense to put |
Example: Now you use |
I don't think it has to do with transitive dependencies. Lets use real ports. In my example, I tried to install glib. glib depends on pcre2. pcre2 depends on bzip2 and uses This is the output of
Now I remove I understand the need for |
You can follow one of the many discussions about that here: #26664 (comment) |
Describe the bug
It seems like vcpkg does not respect
default-features: false
in transitive dependencies. Consequently, vcpkg installs unwanted features.Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To not select bzip2[tool].
Failure logs
The text was updated successfully, but these errors were encountered: