```cmake
# - Find zlib
# Find the native ZLIB includes and library
#
#  ZLIB_INCLUDE_DIR - where to find zlib.h, etc.
#  ZLIB_LIBRARIES   - List of libraries when using zlib.
#  ZLIB_FOUND       - True if zlib found.


IF (ZLIB_INCLUDE_DIR)
  # Already in cache, be silent
  SET(ZLIB_FIND_QUIETLY TRUE)
ENDIF (ZLIB_INCLUDE_DIR)

FIND_PATH(ZLIB_INCLUDE_DIR zlib.h)

SET(ZLIB_NAMES z zlib zdll)
FIND_LIBRARY(ZLIB_LIBRARY NAMES ${ZLIB_NAMES})

MARK_AS_ADVANCED(
  ZLIB_LIBRARY
  ZLIB_INCLUDE_DIR
  )

INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZLIB DEFAULT_MSG ZLIB_INCLUDE_DIR ZLIB_LIBRARY)

INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIR})```

Adjust zlib find tool to be inline with the rest
user
```cmake
FIND_PATH(ZLIB_INCLUDE_DIR zlib.h)
FIND_LIBRARY(ZLIB_LIBRARY z)

MARK_AS_ADVANCED(ZLIB ZLIB_LIBRARY ZLIB_INCLUDE_DIR)

INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZLIB "zlib is required" ZLIB_INCLUDE_DIR ZLIB_LIBRARY)

INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIR})```
assistant