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
…#5055)

respective utils subdirectories.

Fixes #4984.
  • Loading branch information
lrknox authored Nov 1, 2024
1 parent 3f86b4f commit 0af437a
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 0af437a

Please sign in to comment.