cmake could not find zlib, when calling cmake. I've set CMAKE_LIBRARY_PATH to the folder which contains zlib.lib and I've also added zlib to: FIND_LIBRARY(ZLIB_LIBRARY z zlib in FindZLIB.cmake. And I've also added the path to PATHS. But nothing helps. Any ideas? Peter