mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-05 15:42:32 +08:00
Fail CMake on Windows when sub-filing VFD is enabled (#3636)
This commit is contained in:
parent
084c35dad0
commit
d4e23344f4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user