Skip to content
Snippets Groups Projects
Unverified Commit 2991c20c authored by Rosen Penev's avatar Rosen Penev
Browse files

libpng: properly fix zlib issue


The previous commit meant to avoid adding an LDFLAG but it just avoided
the issue. The real issue is PNG_BUILD_ZLIB being turned to ON. This
variable is for specifying a custom zlib location, which is not
necessary. Switching it to OFF calls find_package and links properly.

Backported two zlib related patches. The latter is a somewhat impoarant
fix.

Signed-off-by: default avatarRosen Penev <rosenp@gmail.com>
parent fdaa53cd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment