diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-01-24 18:57:44 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-01-25 10:32:23 +0100 |
commit | 1715bf9508ec1defe2e2dd1809f1e5226e24337f (patch) | |
tree | 546a982e49f5b418b1620307d4b0668df9eb5c59 /platform/linux | |
parent | 1f3424fafab32431f02c6348382266437bb08aea (diff) | |
download | qtlocation-mapboxgl-1715bf9508ec1defe2e2dd1809f1e5226e24337f.tar.gz |
[core] replace encodePNG() with a version that doesn't use libpng
rationale: encodePNG is only used in tests + sample apps, but shouldn't actually be part of the core library. In #7828, we're removing the libpng dependency for Android, and using a libpng-free version of encodePNG allows us to run the core unit tests on Android without pulling in libpng just for the test suite. In a next step, we should remove encodePNG() from the image.hpp header, which is a public header.
Diffstat (limited to 'platform/linux')
-rw-r--r-- | platform/linux/config.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/linux/config.cmake b/platform/linux/config.cmake index 13f3edb96f..caf91fdce2 100644 --- a/platform/linux/config.cmake +++ b/platform/linux/config.cmake @@ -72,6 +72,7 @@ macro(mbgl_platform_core) # Image handling PRIVATE platform/default/image.cpp PRIVATE platform/default/jpeg_reader.cpp + PRIVATE platform/default/png_writer.cpp PRIVATE platform/default/png_reader.cpp PRIVATE platform/default/webp_reader.cpp |