In CMakeLists.txt Line 217, it install binary optipng with install (FILES, which should be corrected into install (targets. Otherwise executable bits will not be set.
I would like to give credit via the co-authored-by tag, but I don't know the email address that you normally use with Git. Could you please confirm if this is your account at Gitee? https://gitee.com/fundawang/libpng
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Acknowledged, thank you very much.
I would like to give credit via the
co-authored-by
tag, but I don't know the email address that you normally use with Git. Could you please confirm if this is your account at Gitee?https://gitee.com/fundawang/libpng