From 662e3c8f5715c32e6a32704ed8af65c558a053dd Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Tue, 28 Aug 2012 16:45:37 -0400 Subject: [PATCH] Make sure to also link against zlib. --- IO/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/IO/CMakeLists.txt b/IO/CMakeLists.txt index f97cdad..a09685e 100644 --- a/IO/CMakeLists.txt +++ b/IO/CMakeLists.txt @@ -31,4 +31,5 @@ ADD_LIBRARY(TexCompIO IF( PNG_FOUND ) TARGET_LINK_LIBRARIES( TexCompIO ${PNG_LIBRARY} ) + TARGET_LINK_LIBRARIES( TexCompIO ${ZLIB_LIBRARY} ) ENDIF()