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()