diff options
author | mattjala <124107509+mattjala@users.noreply.github.com> | 2023-08-31 03:23:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-31 03:23:59 (GMT) |
commit | 627fba0ebc8715d7db036c6eb515acb36b317333 (patch) | |
tree | 69fc50de2085b22d614ce6fc561f6bbb77a1aa34 | |
parent | a993bb8f12e92f2f36d5cd22f5d89bd67197959c (diff) | |
download | hdf5-627fba0ebc8715d7db036c6eb515acb36b317333.zip hdf5-627fba0ebc8715d7db036c6eb515acb36b317333.tar.gz hdf5-627fba0ebc8715d7db036c6eb515acb36b317333.tar.bz2 |
Update VOL CMake for REST VOL (#3450)
* Update VOL CMake for REST VOL
* Prevent linking static libs to VOLs
-rw-r--r-- | CMakeVOL.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeVOL.cmake b/CMakeVOL.cmake index a5f499e..8562106 100644 --- a/CMakeVOL.cmake +++ b/CMakeVOL.cmake @@ -40,6 +40,12 @@ if (HDF5_VOL_ALLOW_EXTERNAL) 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_C_LIBRARIES "${HDF5_LIBRARIES}") + + if (HDF5_BUILD_HL_LIB) + set (HDF5_C_HL_LIBRARIES "${HDF5_HL_LIBSH_TARGET}") + endif() + set (HDF5_MAX_EXTERNAL_VOLS 10) set (HDF5_EXTERNAL_VOL_TARGETS "") @@ -134,6 +140,8 @@ if (HDF5_VOL_ALLOW_EXTERNAL) define_property ( TARGET PROPERTY HDF5_VOL_TARGETS + BRIEF_DOCS "Generated targets of this connector" + FULL_DOCS "Generated targets of this connector" ) set_target_properties ( @@ -149,6 +157,7 @@ if (HDF5_VOL_ALLOW_EXTERNAL) TARGET PROPERTY HDF5_VOL_NAME BRIEF_DOCS "VOL connector name to use for the HDF5_VOL_CONNECTOR environment variable when testing" + FULL_DOCS "VOL connector name to use for the HDF5_VOL_CONNECTOR environment variable when testing" ) set_target_properties ( @@ -164,6 +173,7 @@ if (HDF5_VOL_ALLOW_EXTERNAL) TARGET PROPERTY HDF5_VOL_TEST_PARALLEL BRIEF_DOCS "Whether the VOL connector should be tested with the parallel API tests" + FULL_DOCS "Whether the VOL connector should be tested with the parallel API tests" ) set_target_properties ( |