Skip to content

Commit

Permalink
Export HDF5 version for CMake FetchContent'ed VOL connectors
Browse files Browse the repository at this point in the history
  • Loading branch information
brtnfld committed Jun 5, 2024
1 parent b698b48 commit 0d1574d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeVOL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ if (HDF5_VOL_ALLOW_EXTERNAL MATCHES "GIT" OR HDF5_VOL_ALLOW_EXTERNAL MATCHES "LO
set (HDF5_LIBRARIES "${HDF5_LIBSH_TARGET};${LINK_LIBS};${LINK_COMP_LIBS};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:MPI::MPI_C>")
set (HDF5_INCLUDE_DIRS "${HDF5_SRC_INCLUDE_DIRS};${HDF5_SRC_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
set (HDF5_IS_PARALLEL ${H5_HAVE_PARALLEL})
set (HDF5_VERSION ${HDF5_PACKAGE_VERSION})

set (HDF5_C_LIBRARIES "${HDF5_LIBRARIES}")

Expand Down

0 comments on commit 0d1574d

Please sign in to comment.