Skip to content

Commit

Permalink
cmake: Actually add FindSNAPPY.cmake.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfonseca committed Mar 13, 2015
1 parent 0953138 commit acbb312
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cmake/FindSNAPPY.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Find SNAPPY - A fast compressor/decompressor
#
# This module defines
# SNAPPY_FOUND - whether the snappy library was found
# SNAPPY_LIBRARIES - the snappy library
# SNAPPY_INCLUDE_DIR - the include path of the snappy library
#

find_path (SNAPPY_INCLUDE_DIR NAMES snappy.h)
find_library (SNAPPY_LIBRARIES NAMES snappy)

include (FindPackageHandleStandardArgs)
find_package_handle_standard_args (SNAPPY DEFAULT_MSG SNAPPY_LIBRARIES SNAPPY_INCLUDE_DIR)

0 comments on commit acbb312

Please sign in to comment.