vcpkg/ports/folly/FindSnappy.cmake
2018-03-28 19:28:59 -07:00

13 lines
336 B
CMake

find_path(SNAPPY_INCLUDE_DIR snappy.h)
find_package(SNAPPY_LIBRARY_DEBUG NAMES snappyd)
find_package(SNAPPY_LIBRARY_RELEASE NAMES snappy)
select_library_configurations(SNAPPY_LIBRARY)
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(
SNAPPY DEFAULT_MSG
SNAPPY_LIBRARY SNAPPY_INCLUDE_DIR
)