FindSnappy.cmake 298 B

12345678910
  1. find_path(SNAPPY_INCLUDE_DIR snappy-c.h)
  2. find_library(SNAPPY_LIBRARY NAMES snappy)
  3. if (SNAPPY_INCLUDE_DIR AND SNAPPY_LIBRARY)
  4. set(SNAPPY_FOUND TRUE)
  5. message(STATUS "Found SNAPPY library: ${SNAPPY_LIBRARY}")
  6. else ()
  7. message(STATUS "No snappy found. Using internal sources.")
  8. endif ()