message: Use MPI_LIB, etc. only in parallel CUDA mode
diff: @@ -229,7 +229,10 @@ endif
  # List of MFEM dependencies, that require the *_LIB variable to be non-empty
  MFEM_REQ_LIB_DEPS = SUPERLU METIS CONDUIT SIDRE LAPACK SUNDIALS MESQUITE\
  - SUITESPARSE STRUMPACK GECKO GNUTLS NETCDF PETSC MPFR PUMI MPI CUDA OCCA RAJA
  + SUITESPARSE STRUMPACK GECKO GNUTLS NETCDF PETSC MPFR PUMI CUDA OCCA RAJA
  +ifeq ($(MFEM_USE_CUDA)$(MFEM_USE_MPI),YESYES)
  + MFEM_REQ_LIB_DEPS += MPI
  +endif
  PETSC_ERROR_MSG = $(if $(PETSC_FOUND),,. PETSC config not found: $(PETSC_VARS))
  define mfem_check_dependency
  