2 # Find the snappy compression library and includes
4 # SNAPPY_INCLUDE_DIR - where to find snappy.h, etc.
5 # SNAPPY_LIBRARIES - List of libraries when using snappy.
6 # SNAPPY_FOUND - True if snappy found.
8 find_path(SNAPPY_INCLUDE_DIR
10 HINTS ${SNAPPY_ROOT_DIR}/include)
12 find_library(SNAPPY_LIBRARIES
14 HINTS ${SNAPPY_ROOT_DIR}/lib)
16 # handle the QUIETLY and REQUIRED arguments and set UUID_FOUND to TRUE if
17 # all listed variables are TRUE
18 include(FindPackageHandleStandardArgs)
19 find_package_handle_standard_args(snappy DEFAULT_MSG SNAPPY_LIBRARIES SNAPPY_INCLUDE_DIR)