From 07df7568bf414569a6ad89422ec507ddc72d89d4 Mon Sep 17 00:00:00 2001 From: Sam Reeve <6740307+streeve@users.noreply.github.com> Date: Fri, 12 Jan 2024 10:58:49 -0500 Subject: [PATCH] fixup: do not enable subfiling ex if not enabled --- example/core_tutorial/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/core_tutorial/CMakeLists.txt b/example/core_tutorial/CMakeLists.txt index d20d8e45a..820dc603c 100644 --- a/example/core_tutorial/CMakeLists.txt +++ b/example/core_tutorial/CMakeLists.txt @@ -37,7 +37,7 @@ if(Kokkos_ENABLE_CUDA) endif() if(Cabana_ENABLE_HDF5) add_subdirectory(13_hdf5_output) - if(HDF5_VERSION VERSION_GREATER_EQUAL 1.14.0) + if(HDF5_VERSION VERSION_GREATER_EQUAL 1.14.0 AND HDF5_ENABLE_SUBFILING_VFD) add_subdirectory(13_hdf5_output_advanced) endif() endif()