InfiniTimeOrg / InfiniSim

Simulator for InfiniTime user interface without needing a PineTime
GNU General Public License v3.0
167 stars 67 forks source link

Remove libpng submodule and require system lib #119

Closed NeroBurner closed 1 year ago

NeroBurner commented 1 year ago

On rolling distros the usage of libpng submodule makes problems as the zlib system dependency of said module gets updated. Then the submodule regularly is too old to handle the updates zlib dependency.

Fix this maintenance churn by requiring libpng as system library as well. Then the distros package manager keeps those versions in sync.

This unfortunately requires users to install a new runtime/build dependency, but it still can be disabled with -DWITH_PNG=OFF.