[folly] Add missing files.

This commit is contained in:
Robert Schumacher 2018-03-28 19:28:42 -07:00
parent 3e1104465e
commit 10e77be9fa
2 changed files with 24 additions and 0 deletions

12
ports/folly/FindLZ4.cmake Normal file
View File

@ -0,0 +1,12 @@
find_path(LZ4_INCLUDE_DIR lz4.h)
find_package(LZ4_LIBRARY_DEBUG NAMES lz4d)
find_package(LZ4_LIBRARY_RELEASE NAMES lz4)
select_library_configurations(LZ4_LIBRARY)
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(
LZ4 DEFAULT_MSG
LZ4_LIBRARY LZ4_INCLUDE_DIR
)

View File

@ -0,0 +1,12 @@
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
)