conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
956 stars 1.75k forks source link

[question] xxhash: different license for executable #17524

Open Nekto89 opened 1 year ago

Nekto89 commented 1 year ago

What is your question?

xxhash recipe provides both library and utility xxhsum. But utility has different license GPL https://github.com/Cyan4973/xxHash/tree/dev#license

Should it be somehow stated in recipe? Should license depend on input options?

Croydon commented 1 year ago

The license attribute can be a tuple of license identifiers. I would just add both licenses statically. Consumers have to check the license situation anyway.

Furthermore, the source code parts are probably already under the second license and are getting downloaded independently of options.