hdf5: Make +subfiling variant depend on +mpi (#42324)
Based on CMakeLists.txt, the subfiling VFD requires a parallel HDF5 build. So make +subfiling variant depend on +mpi Should resolve #42323
This commit is contained in:
parent
0b23bbbbb0
commit
6474d7ef00
1 changed files with 3 additions and 1 deletions
|
@ -88,7 +88,9 @@ class Hdf5(CMakePackage):
|
|||
variant("hl", default=False, description="Enable the high-level library")
|
||||
variant("cxx", default=False, description="Enable C++ support")
|
||||
variant("map", when="@1.14:", default=False, description="Enable MAP API support")
|
||||
variant("subfiling", when="@1.14:", default=False, description="Enable Subfiling VFD support")
|
||||
variant(
|
||||
"subfiling", when="@1.14: +mpi", default=False, description="Enable Subfiling VFD support"
|
||||
)
|
||||
variant("fortran", default=False, description="Enable Fortran support")
|
||||
variant("java", when="@1.10:", default=False, description="Enable Java support")
|
||||
variant("threadsafe", default=False, description="Enable thread-safe capabilities")
|
||||
|
|
Loading…
Reference in a new issue