Conversation
|
Fixes #317 |
|
@kazuho can we merge this? |
|
Thank you for the pull request, but unfortunately, I'm afraid we cannot. We never plan to freeze the API provided by picotls. Having a supported For that reason, we cannot support installing picotls as a library. If you would like to use picotls, the supported approach is to vendor it into your source tree and update it as needed, rather than depending on an installed copy. |
|
@kazuho I want to use |
|
@ioquatix I see. The problem is that while you can use I would be less worried if the sub-command was like
|
|
I have a standard set of
I don't really see why this is your problem, but you could:
|
|
@ioquatix Your use case makes perfect sense. However, once we provide the
When upgrades then break consumers, support issues will be opened against the upstream project, and "but we warned you" doesn't reduce that burden in practice. That's why we avoid providing an install target upstream. If you need an install step for your vendored build, I'd recommend either (a) keeping this patch / maintaining a small fork, or (b) adding a wrapper in your build that copies the headers and built artifacts into your vendor prefix. |
I don't know a lot about CMake but I tested this locally and it seems to work.