Skip to content

[VCPKG] Using [core] in Build-Depends does not work #11602

@JackBoosY

Description

@JackBoosY

Describe the bug
When port A has default feature and port B depends on A[core], the default feature of port A will still be activated.

Environment

  • OS: [e.g. Windows/Linux etc...] All
  • Compiler: revision

To Reproduce
Steps to reproduce the behavior:

  1. Modify ports/rabit/CONTROL, set Build-Depends: dmlc to Build-Depends: dmlc[core]
  2. ./vcpkg install rabit
  3. See error
    Repro code when

Expected behavior
Any build that relies on other ports[core] should only build the port itself without any features.

Failure logs
N/A

Additional context
N/A

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions