Check if mirror VFD and subfiling VFD are enabled before adding their (#5055)

respective utils subdirectories.

Fixes #4984.
This commit is contained in:
Larry Knox 2024-11-01 07:55:31 -05:00 committed by GitHub
parent 3f86b4f228
commit 0af437a61e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,8 +7,12 @@ endif ()
option (HDF5_BUILD_UTILS "Build HDF5 Utils" ON)
if (HDF5_BUILD_UTILS)
add_subdirectory (mirror_vfd)
add_subdirectory (subfiling_vfd)
if (HDF5_ENABLE_MIRROR_VFD)
add_subdirectory (mirror_vfd)
endif ()
if (HDF5_ENABLE_SUBFILING_VFD)
add_subdirectory (subfiling_vfd)
endif ()
endif ()
#-- Add the h5dwalk and test executables