patch to use system's libpng when enabled by the CMake option USE_SYSTEM_LIBPNG

This commit is contained in:
Tobias Frost 2014-11-01 16:33:17 +01:00
parent d3a9fa14ae
commit a8d9c2b489
2 changed files with 25 additions and 3 deletions

View file

@ -617,7 +617,7 @@ PNG LOADING
extern "C"
{
#include "../libs/png/png.h"
#include <png.h>
static void png_Error( png_structp pngPtr, png_const_charp msg )