summaryrefslogtreecommitdiffstats
path: root/cmake/FindSnappy.cmake
blob: 1e99eb65a5037c885ab81a20361ed4cdeb8abe92 (plain)
1
2
3
4
5
6
7
8
9
find_path(SNAPPY_INCLUDE_DIRS NAMES snappy.h)
find_library(SNAPPY_LIBRARIES NAMES snappy)

include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(
    Snappy DEFAULT_MSG
    SNAPPY_LIBRARIES SNAPPY_INCLUDE_DIRS)

mark_as_advanced(SNAPPY_INCLUDE_DIRS SNAPPY_LIBRARIES)