Revision f5281a53a448ac4daecfd7d4ad690a5a71de6dd6 authored by Siying Dong on 15 June 2018, 17:59:40 UTC, committed by Facebook Github Bot on 15 June 2018, 18:12:29 UTC
Summary:
Make sure that some recent releases can read master's option files while ignoring unknown options. Also add two more recent release branches.
Closes https://github.com/facebook/rocksdb/pull/3994

Differential Revision: D8409499

Pulled By: siying

fbshipit-source-id: 1b025f19ba288da0517f6b4572797573e23e23c2
1 parent fbe3b9e
Raw File
Findzlib.cmake
# - Find zlib
# Find the zlib compression library and includes
#
# ZLIB_INCLUDE_DIR - where to find zlib.h, etc.
# ZLIB_LIBRARIES - List of libraries when using zlib.
# ZLIB_FOUND - True if zlib found.

find_path(ZLIB_INCLUDE_DIR
  NAMES zlib.h
  HINTS ${ZLIB_ROOT_DIR}/include)

find_library(ZLIB_LIBRARIES
  NAMES z
  HINTS ${ZLIB_ROOT_DIR}/lib)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(zlib DEFAULT_MSG ZLIB_LIBRARIES ZLIB_INCLUDE_DIR)

mark_as_advanced(
  ZLIB_LIBRARIES
  ZLIB_INCLUDE_DIR)
back to top