Skip to content

Commit

Permalink
using zip for hdf5 and downgrading to 1.14.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mtao committed Nov 7, 2023
1 parent 5cd3022 commit 53d58f6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/recipes/hdf5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ option(HDF5_ENABLE_EMBEDDED_LIBINFO "" OFF)
set (HDF5_EXTERNALLY_CONFIGURED 1)

include(CPM)
CPMAddPackage("gh:HDFGroup/hdf5#hdf5-1_14_3")
set(HDF5_RELEASE_TAG hdf5-1_14_3)

#we fetch the zip file to get prebuilt files (and avoid a perl dependency)
CPMAddPackage("https://github.com/HDFGroup/hdf5/releases/download/${HDF5_RELEASE_TAG}/${HDF5_RELEASE_TAG}.zip")

target_link_libraries(hdf5-static INTERFACE hdf5_hl-static)
add_library(hdf5::hdf5 ALIAS hdf5-static)

0 comments on commit 53d58f6

Please sign in to comment.