if(ZLIB_FOUND)
    include_directories(${ZLIB_INCUDE_DIR})
    set(deps ${ZLIB_LIBRARIES})
else()
    include_directories("${CMAKE_CURRENT_SOURCE_DIR}/../../3rdparty/zlib")
    set(deps zlib)
endif()
define_opencv_module(core ${deps})