diff --git a/code/CMakeModules/Findassimp.cmake b/code/CMakeModules/Findassimp.cmake index 6748cd221..41e53cf94 100644 --- a/code/CMakeModules/Findassimp.cmake +++ b/code/CMakeModules/Findassimp.cmake @@ -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)