Commit 48eee7b8 authored by Orvid King's avatar Orvid King Committed by Facebook Github Bot

Support debug/release distinction in FindZstd

Summary: This gets Folly working with the zstd package provided by vcpkg.

Reviewed By: yfeldblum

Differential Revision: D8176531

fbshipit-source-id: 05fdd5915a677a862791cfcc5587f7a396fb4c51
parent f2bdc48d
......@@ -7,7 +7,12 @@
#
find_path(ZSTD_INCLUDE_DIR NAMES zstd.h)
find_library(ZSTD_LIBRARY NAMES zstd)
find_library(ZSTD_LIBRARY_DEBUG NAMES zstdd)
find_library(ZSTD_LIBRARY_RELEASE NAMES zstd)
include(SelectLibraryConfigurations)
SELECT_LIBRARY_CONFIGURATIONS(ZSTD)
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment