File: FindSnappy.cmake

package info (click to toggle)
hdf5-filter-plugin 0.0~git20221111.49e3b65-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,848 kB
  • sloc: ansic: 14,374; sh: 11,445; cpp: 1,463; makefile: 100; python: 19; xml: 6
file content (10 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
find_path(SNAPPY_INCLUDE_DIR snappy-c.h)

find_library(SNAPPY_LIBRARY NAMES snappy)

if (SNAPPY_INCLUDE_DIR AND SNAPPY_LIBRARY)
    set(SNAPPY_FOUND TRUE)
    message(STATUS "Found SNAPPY library: ${SNAPPY_LIBRARY}")
else ()
    message(STATUS "No snappy found.  Using internal sources.")
endif ()