Skip to content

Commit

Permalink
Fix Direct VFD Testing in CMake (#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhendersonHDF authored Jun 11, 2021
1 parent 5173cce commit 42e485e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion c++/test/CMakeVFDTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set (VFD_LIST
family
)

if (DIRECT_VFD)
if (H5_HAVE_DIRECT)
set (VFD_LIST ${VFD_LIST} direct)
endif ()

Expand Down
2 changes: 1 addition & 1 deletion test/CMakeVFDTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set (VFD_LIST
multi
family
)
if (DIRECT_VFD)
if (H5_HAVE_DIRECT)
set (VFD_LIST ${VFD_LIST} direct)
endif ()

Expand Down
2 changes: 1 addition & 1 deletion testpar/CMakeVFDTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ set (H5P_VFD_TESTS
t_pflush2
)

if (DIRECT_VFD)
if (H5_HAVE_DIRECT)
set (VFD_LIST ${VFD_LIST} direct)
endif ()

Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5dump/CMakeVFDTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set (VFD_H5DUMP_LIST
family
)

if (DIRECT_VFD)
if (H5_HAVE_DIRECT)
set (VFD_H5DUMP_LIST ${VFD_H5DUMP_LIST} direct)
endif ()

Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5repack/CMakeVFDTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ set (VFD_LIST
family
)

if (DIRECT_VFD)
if (H5_HAVE_DIRECT)
set (VFD_LIST ${VFD_LIST} direct)
endif ()

Expand Down

0 comments on commit 42e485e

Please sign in to comment.