Make sure to also link against zlib.

This commit is contained in:
Pavel Krajcevski 2012-08-28 16:45:37 -04:00
parent 9e625a4065
commit 662e3c8f57

View file

@ -31,4 +31,5 @@ ADD_LIBRARY(TexCompIO
IF( PNG_FOUND ) IF( PNG_FOUND )
TARGET_LINK_LIBRARIES( TexCompIO ${PNG_LIBRARY} ) TARGET_LINK_LIBRARIES( TexCompIO ${PNG_LIBRARY} )
TARGET_LINK_LIBRARIES( TexCompIO ${ZLIB_LIBRARY} )
ENDIF() ENDIF()