cmake: Improve building with the system libpng.

This also now requires at least libpng16 instead of libpng17.

v2: Require libpng17 on arm platforms.
v3: Fix the android and windows travis builds.
This commit is contained in:
orbea committed 2020-03-22 18:43:51 -07:00
1 parent 03b9c40fae
commit c8c7889f0f
9 files changed
+34 -30

No files matched your search

@@ -17,7 +17,7 @@
#include <algorithm>
#ifndef USING_QT_UI
#include <libpng17/png.h>
#include <png.h>
#include <zlib.h>
#endif
#include "data/base64.h"