aseprite/third_party/libpng/CMakeLists.txt
David Capello 36ca165328 Update zlib to 1.2.5 and libpng 1.5.7.
Fix loadpng library and png_format.cpp to support the new libpng version.
2012-01-07 21:11:19 -03:00

25 lines
335 B
CMake

add_library(libpng
png.c
pngerror.c
pngget.c
pngmem.c
pngpread.c
pngread.c
pngrio.c
pngrtran.c
pngrutil.c
pngset.c
pngtrans.c
pngwio.c
pngwrite.c
pngwtran.c
pngwutil.c)
# SOME NEEDED DEFINITIONS
add_definitions(-DPNG_CONFIGURE_LIBPNG)
if(MSVC)
add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
endif(MSVC)