Replies: 2 comments 6 replies
|
The current For manifest mode, the shape should be something like: {
"name": "my-app",
"dependencies": [
{
"name": "freetype",
"default-features": false,
"features": ["png", "zlib"]
}
]
}That disables freetype’s default One other thing to check: if another dependency in the graph requests freetype with its defaults enabled, vcpkg’s feature resolution can still bring those features back. The quickest way to isolate that is to try a tiny manifest containing only freetype with So you should not need a private port just to remove Brotli. The port’s own manifest lists Brotli under |
|
Your linked manifest is using the correct direct declaration: vcpkg can still re-enable a default feature when another dependency requests freetype transitively with its defaults; |
Uh oh!
There was an error while loading. Please reload this page.
Hello everyone!
Despite my best efforts I cant get freetype to build without brotli. Its a feature and looks like ti should be able to skip but no matter what I do It always gets bundled.
I've used
"default-features": false
I've had to use my own port and remove all the brotli code from it.
any ideas?
All reactions