-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Setting default-features with false does not work in a port's vcpkg.json #35555
Comments
Works as designed by the project owners. The expected behaviour is supported for manifests in user projects.
|
I tried
Is there any way to avoid installing default features of |
Your command line ("user") didn't specify anything about curl. What you need is:
The effect of |
Thanks for your explanation. It now works:
|
Describe the bug
I tried to contribute a new port and I'm testing it locally. In my project, the
curl
depends onopenssl
but in Vcpkgcurl
depends onsectransp
by default on OSX. I tried setting"default-features": "false"
but it does not work.Environment
To Reproduce
Create
port/xyz/vcpkg.json
:Then I ran
vcpkg install xyz
:As you can see, all the default features (
core,non-http,sectransp,ssl
) of curl were still installed.Expected behavior
The default features should not be installed.
Failure logs
-(please attached failure logs)
Additional context
I tried a simple project with the similar vcpkg.json in manifest mode and it does not install the default features
The text was updated successfully, but these errors were encountered: