From c21a84c9c92db3262a865f997b6b9b0010e68920 Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 19 May 2015 14:02:52 -0300 Subject: [PATCH] Add zlib as libpng dependency --- third_party/libpng/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/third_party/libpng/CMakeLists.txt b/third_party/libpng/CMakeLists.txt index eaa9cd55d..bc9505af9 100644 --- a/third_party/libpng/CMakeLists.txt +++ b/third_party/libpng/CMakeLists.txt @@ -22,3 +22,5 @@ add_definitions(-DPNG_CONFIGURE_LIBPNG) if(MSVC) add_definitions(-D_CRT_SECURE_NO_DEPRECATE) endif(MSVC) + +target_link_libraries(libpng zlib)