-
We have a dependency that has a feature that only works in some situations, and otherwise we need to not compile some aspects of our host project. E.G.
then in the host vcpkg.json we just consume the default library At configure time however, if we wanted to add the feature how can we enable this?
☝️ this does not work because Can we specify the feature of a dependency on the command line or in CMakeLists.txt somehow? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
No.
It should be: {
"name": "my-project",
"dependencies": [
"sick-library"
],
"features": {
"do-more-auth": {
"dependencies": [
{
"name": "sick-library",
"features": {
"extra-auth"
}
}
]
}
}
} |
Beta Was this translation helpful? Give feedback.
No.
It should be: