Skip to content

Commit

Permalink
Check if mirror VFD and subfiling VFD are enabled before adding their
Browse files Browse the repository at this point in the history
respective utils subdirectories.
  • Loading branch information
lrknox committed Oct 31, 2024
1 parent 8f0cdce commit d50f07f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d50f07f

Please sign in to comment.