opencv+hdf: depend on mpi when ^hdf5+mpi (#46244)

When OpenCV depends on HDF5+mpi, it needs to the MPI compilers available.
This commit is contained in:
Robert Underwood 2024-09-24 10:33:30 -04:00 committed by GitHub
parent d5b8b0600a
commit f0e51a35c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -492,6 +492,7 @@ class Opencv(CMakePackage, CudaPackage):
with when("+hdf"):
depends_on("hdf5")
depends_on("mpi", when="^hdf5+mpi")
with when("+hfs"):
with when("+cuda"):