hdf5: Add conflict for older cmake versions. (#37463)
See HDFGroup/hdf5 issue 2906
This commit is contained in:
		| @@ -238,6 +238,10 @@ class Hdf5(CMakePackage): | |||||||
|     conflicts("+fortran", when="+shared@:1.8.15") |     conflicts("+fortran", when="+shared@:1.8.15") | ||||||
|     # See https://github.com/spack/spack/issues/31085 |     # See https://github.com/spack/spack/issues/31085 | ||||||
|     conflicts("+fortran+mpi", when="@1.8.22") |     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: |     # There are several officially unsupported combinations of the features: | ||||||
|     # 1. Thread safety is not guaranteed via high-level C-API but in some cases |     # 1. Thread safety is not guaranteed via high-level C-API but in some cases | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Mittagskogel
					Mittagskogel