summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/hdf5/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py
index 7b948087c9..66c1b38d64 100644
--- a/var/spack/repos/builtin/packages/hdf5/package.py
+++ b/var/spack/repos/builtin/packages/hdf5/package.py
@@ -238,6 +238,10 @@ class Hdf5(CMakePackage):
conflicts("+fortran", when="+shared@:1.8.15")
# See https://github.com/spack/spack/issues/31085
conflicts("+fortran+mpi", when="@1.8.22")
+ # See https://github.com/HDFGroup/hdf5/issues/2906#issue-1697749645
+ conflicts(
+ "+fortran", when="@1.13.3:^cmake@:3.22", msg="cmake_minimum_required is not set correctly."
+ )
# There are several officially unsupported combinations of the features:
# 1. Thread safety is not guaranteed via high-level C-API but in some cases