Skip to content

Commit

Permalink
Fix findings ZStd for the RocksDB dependency. (#574)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgoodman authored Jan 7, 2025
1 parent e6773ed commit f7f039c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions vendor/rocksdb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ if(NOT MX_USE_VENDORED_ROCKSDB)
endif()

find_package(zstd CONFIG REQUIRED QUIET HINTS "${MX_VENDOR_INSTALL_DIR}")

find_path(ZSTD_INCLUDE_DIRS
NAMES zstd.h
HINTS "${MX_VENDOR_INSTALL_DIR}/${MX_INSTALL_INCLUDE_DIR}")

find_library(ZSTD_LIBRARIES
NAMES zstd
HINTS "${MX_VENDOR_INSTALL_DIR}/${MX_INSTALL_LIB_DIR}")

find_package(gflags CONFIG REQUIRED QUIET HINTS "${MX_VENDOR_INSTALL_DIR}")

set(src_dir "${CMAKE_CURRENT_LIST_DIR}/src")
Expand Down

0 comments on commit f7f039c

Please sign in to comment.