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

+1 -1
View File
@@ -18,7 +18,7 @@
#ifdef USING_QT_UI
#include <QtGui/QImage>
#else
#include <libpng17/png.h>
#include <png.h>
#endif
#include <algorithm>