Pass ZSTD to ifopsh build

This commit is contained in:
Thomas Krijnen
2025-09-11 13:53:44 +02:00
parent 42b1cf039d
commit 41f9b1522e
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -349,6 +349,9 @@ if (WITH_ROCKSDB)
set(SWIG_DEFINES ${SWIG_DEFINES} -DIFOPSH_WITH_ROCKSDB)
if (WITH_ZSTD)
# @todo do we actually need the zstd include dir or rather just pass
# the libzstd.a along with the rocksdb library when needed and feature
# detect based on rocksdb API?
if("${ZSTD_INCLUDE_DIR}" STREQUAL "")
find_path(ZSTD_INCLUDE_DIR zstd.h
PATHS