Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
minknowbot committed Jan 15, 2025
1 parent 6f1843a commit 7f42727
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,19 @@ if (NOT APPLE)
endif()

find_package(HDF5 1.8.16)
find_package(zstd 1.3.1 REQUIRED)
find_package(Sanitizers)

# We need CONFIG on macOS to avoid linking to brew. This also changes
# the name of the target.
if (APPLE)
find_package(zstd 1.3.1 REQUIRED CONFIG)
set(zstd_target zstd::libzstd_static)
set(ZSTD_LIBRARY $<TARGET_FILE:zstd::libzstd_static>)
else()
find_package(zstd 1.3.1 REQUIRED)
set(zstd_target zstd::zstd)
endif()

get_filename_component(STREAMVBYTE_SOURCE_DIR
third_party/streamvbyte
ABSOLUTE
Expand Down
2 changes: 1 addition & 1 deletion vbz/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ endif()
target_link_libraries(vbz
PUBLIC
${STREAMVBYTE_STATIC_LIB}
zstd::zstd
${zstd_target}
)

if (BUILD_TESTING)
Expand Down

0 comments on commit 7f42727

Please sign in to comment.