Describe the bug
vcpkg export fails when using features. This recently broke (probably microsoft/vcpkg-tool#298?).
Environment
- OS: Windows
- Compiler: N/A
To Reproduce
Steps to reproduce the behavior:
-
.\vcpkg.exe install 'abseil[cxx17]'
-
.\vcpkg export abseil[cxx17] --nuget
Error: List of features is not allowed in this contectExample:
vcpkg export zlib zlib:x64-windows boost --nuget
-
.\vcpkg export abseil --nuget
The following packages need to be built:
abseil:x86-windows
There are packages that have not been built.
To build them, run:
vcpkg install abseil:x86-windows
Expected behavior
Exporting a port with feature works as before.
Describe the bug
vcpkg exportfails when using features. This recently broke (probably microsoft/vcpkg-tool#298?).Environment
To Reproduce
Steps to reproduce the behavior:
.\vcpkg.exe install 'abseil[cxx17]'.\vcpkg export abseil[cxx17] --nuget.\vcpkg export abseil --nugetExpected behavior
Exporting a port with feature works as before.