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