Skip to content

Dependency features not installed in manifest mode #12315

@AlexAltea

Description

@AlexAltea

It seems that features in the array of dependencies of vcpkg.json files get ignored by vcpkg install.

Environment

  • OS: Any?
  • Compiler: Any?

To reproduce

Steps to reproduce the behavior:

  1. Create an empty folder with the following vcpkg.json file:
    {
      "name": "xxx",
      "version-string": "0.1.0",
      "dependencies": [
        {
          "name": "capstone",
          "features": [ "x86" ]
        }
      ]
    }
    
  2. Run vcpkg install in that folder.
  3. capstone[core] is installed instead of capstone[x86].
    See: https://github.com/microsoft/vcpkg/blob/master/ports/capstone/CONTROL

Expected behavior

capstone[x86] should have been installed.

Metadata

Metadata

Assignees

Labels

info:manifestsThis PR or Issue pertains to the Manifests feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions