diff options
author | H. Joe Lee <hyoklee@hdfgroup.org> | 2023-10-06 15:31:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-06 15:31:59 (GMT) |
commit | d4e23344f4d3c9203a204f88bee1a2aba536868f (patch) | |
tree | 391996e0883ef2b0bb184905d53c8a8257d2a34c | |
parent | 084c35dad079a4a8c333b53e3a69dedf5dab2b95 (diff) | |
download | hdf5-d4e23344f4d3c9203a204f88bee1a2aba536868f.zip hdf5-d4e23344f4d3c9203a204f88bee1a2aba536868f.tar.gz hdf5-d4e23344f4d3c9203a204f88bee1a2aba536868f.tar.bz2 |
Fail CMake on Windows when sub-filing VFD is enabled (#3636)
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d5fe85a..87d3d78 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -723,6 +723,9 @@ set (HDF5_SRC_INCLUDE_DIRS ) option (HDF5_ENABLE_SUBFILING_VFD "Build Parallel HDF5 Subfiling VFD" OFF) if (HDF5_ENABLE_SUBFILING_VFD) + if (WIN32) + message (FATAL_ERROR " **** Subfiling is not supported on Windows **** ") + endif () if (NOT HDF5_ENABLE_PARALLEL) message (FATAL_ERROR "Subfiling VFD requires a parallel HDF5 build") else () @@ -731,7 +734,7 @@ if (HDF5_ENABLE_SUBFILING_VFD) if (NOT H5_HAVE_MPI_Comm_split_type) message (FATAL_ERROR "Subfiling VFD requires MPI-3 support for MPI_Comm_split_type") endif () - endif() + endif () if (NOT DEFINED Threads_FOUND) set (THREADS_PREFER_PTHREAD_FLAG ON) |