-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[libpng] Fix android build #11280
[libpng] Fix android build #11280
Conversation
248597b
to
267eca5
Compare
Hello, I tested this PR on my side, it fixes the issue I was complaining about here (when trying to build opencv4 for android, which require png). |
when merged, I will cherry pick this commit into my PR so that @pthom can continue tests with opencv4 and png |
@huangqinjin @pthom @cenit Current patch on mine which doesn't affect the cmakelist
|
https://github.com/glennrp/libpng/blob/6dd99ca9c85a59cc8848553177b84abea228f82f/CMakeLists.txt#L425 generates |
There wasn't any need to include a patch as this option |
It's better if we can fix it without patch from vcpkg's point of view. But I think it's a bug which shoule be fixed in upstream. Actually there is a cmake option |
267eca5
to
d5dc32e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the PR!
This conflicts with #11162; can you update the version to |
d5dc32e
to
e4d7b16
Compare
@strega-nil Done. |
Awesome, thanks @huangqinjin. This looks great :) |
No description provided.