summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2019-05-08 20:57:34 +0200
committerspycrab <spycrab@users.noreply.github.com>2019-05-08 20:57:34 +0200
commitc2903f8b4e2be07b84c7cc68993ea080cf8a896b (patch)
treef33137d81bd0c77c88ed3aaeec2f95897f5362ca
parent5ca993330729935ada1b7c2f027be77994e5fcdd (diff)
Externals/libpng: Link against zlib
-rw-r--r--Externals/libpng/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Externals/libpng/CMakeLists.txt b/Externals/libpng/CMakeLists.txt
index 4396e4a34c..622e65b207 100644
--- a/Externals/libpng/CMakeLists.txt
+++ b/Externals/libpng/CMakeLists.txt
@@ -23,6 +23,8 @@ PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
)
+target_link_libraries(png PUBLIC z)
+
if(NOT MSVC)
target_compile_options(png
PRIVATE