You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake currently installs the license in share/licenses/Seasocks/LICENSE.
The logs I posted at #144 (comment) were from a built with the conan-center hooks enabled.
I interpret them as rules for accepting recipes in the conan-center repo, not as best practices for install prefixes.
As an example, the conan-center hooks currently disallow a share subfolder, which is common on unices (what's the multiple of unix?).
That being said, I'll add self.copy("LICENSE", dst="licenses") to the conan recipe in #144.
That way, if some script is grepping for licenses for all dependencies, it will be found.
Would be appreciated. We currently use "plain" CMake but as the person who recently had the glorious task of ensuring license compliance in my companies product, I feel somewhat obligated to spare other developers from the pain of non-standard license declarations 😉
Conan expects a license folder in its projects:
[HOOK - conan-center.py] post_package(): ERROR: [PACKAGE LICENSE (KB-H012)] No 'licenses' folder found in package: /home/jasper/.conan/data/seasocks/1.4.4/_/_/package/ac7e8914e54bce4e93d8fd34e732e8c13c5913f2 (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H012)
We should conform to this standard practice, as demonstrated by the zlib conan package:
The text was updated successfully, but these errors were encountered: