Managing conditional transitive dependencies: How? #24377
-
I have a header only library I'd like to install with vcpkg manifest mode. It wraps an API and some additional functionality around another low level library, On the user side these alternative low level libraries are chosen with a COMPONENT part in the ## like this when using low_level_library_ALPHA :
find_package(my_library COMPONENTS Alpha REQUIRED)
## or alternatively like so when using low_level_library_BETA :
find_package(my_library COMPONENTS Beta REQUIRED) I also added the 'my_library' repo in a port inside a custom registry I'm using for users of this library. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Why, because it is not a feature but an option between Alpha and Beta? So using Alpha and Beta or none of them is not possible? |
Beta Was this translation helpful? Give feedback.
Why, because it is not a feature but an option between Alpha and Beta? So using Alpha and Beta or none of them is not possible?