Debian Codegraph @

BLOSC/config/cmake/FindSnappy.cmake

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