SET(K3D_ZLIB_FOUND 0)

find_package(ZLIB)

IF(ZLIB_FOUND)
	SET(K3D_ZLIB_INCLUDE_DIRS
		${ZLIB_INCLUDE_DIRS}
		)

	SET(K3D_ZLIB_LIB_DIRS
		${ZLIB_LIBRARY_DIRS}
		)

	SET(K3D_ZLIB_LIBS
		${ZLIB_LIBRARIES}
		)

	SET(K3D_ZLIB_FOUND 1)
ENDIF(ZLIB_FOUND)