Fixed: Assimp depends on ZLIB

This commit is contained in:
kervala 2015-11-30 14:19:38 +01:00
parent 46543242db
commit f611efc153

View file

@ -12,6 +12,10 @@ FIND_LIBRARY(
IF (assimp_INCLUDE_DIRS AND assimp_LIBRARIES)
SET(assimp_FOUND TRUE)
FIND_PACKAGE(ZLIB)
IF(ZLIB_FOUND)
SET(assimp_LIBRARIES ${assimp_LIBRARIES} ${ZLIB_LIBRARIES})
ENDIF()
ENDIF (assimp_INCLUDE_DIRS AND assimp_LIBRARIES)
IF (assimp_FOUND)