mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
Check if mirror VFD and subfiling VFD are enabled before adding their (#5055)
respective utils subdirectories. Fixes #4984.
This commit is contained in:
parent
3f86b4f228
commit
0af437a61e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user