From 4cccb812de6921e9e89d2805fdd7b219e58df453 Mon Sep 17 00:00:00 2001
From: Bryan O'Sullivan <bos@lindenlab.com>
Date: Sat, 30 Aug 2008 03:55:11 +0000
Subject: [PATCH] libpng needs linking against zlib

---
 indra/llimage/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/indra/llimage/CMakeLists.txt b/indra/llimage/CMakeLists.txt
index 3864d585dc2..1a4d92bc34b 100644
--- a/indra/llimage/CMakeLists.txt
+++ b/indra/llimage/CMakeLists.txt
@@ -7,6 +7,7 @@ include(LLCommon)
 include(LLImage)
 include(LLMath)
 include(LLVFS)
+include(ZLIB)
 
 include_directories(
     ${LLCOMMON_INCLUDE_DIRS}
@@ -52,4 +53,5 @@ target_link_libraries(
     llimage
     ${JPEG_LIBRARIES}
     ${PNG_LIBRARIES}
+    ${ZLIB_LIBRARIES}
     )
-- 
GitLab