add cmake constraint (#41542)

This commit is contained in:
Rocco Meli 2023-12-11 15:36:29 +01:00 committed by GitHub
parent 7297721e78
commit 93a1fc90c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -298,6 +298,9 @@ class Cp2k(MakefilePackage, CudaPackage, CMakePackage, ROCmPackage):
depends_on("wannier90", when="@3.0+mpi")
with when("build_system=cmake"):
depends_on("cmake@3.22:", type="build")
# DBCSR as external dependency
depends_on("dbcsr@2.6:")
depends_on("dbcsr+openmp", when="+openmp")
depends_on("dbcsr+cuda", when="+cuda")