Add zlib as libpng dependency

This commit is contained in:
David Capello 2015-05-19 14:02:52 -03:00
parent 9a1c522084
commit c21a84c9c9

View File

@ -22,3 +22,5 @@ add_definitions(-DPNG_CONFIGURE_LIBPNG)
if(MSVC) if(MSVC)
add_definitions(-D_CRT_SECURE_NO_DEPRECATE) add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
endif(MSVC) endif(MSVC)
target_link_libraries(libpng zlib)