From c3427768126e1414a2e56e65811c85c0e85abf75 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 30 Nov 2015 14:19:38 +0100 Subject: [PATCH] Fixed: Assimp depends on ZLIB --- code/CMakeModules/Findassimp.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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)