dd4hep: extend conflict on CMake (#27125)

This commit is contained in:
Thomas Madlener 2023-02-21 06:33:11 +01:00 committed by GitHub
parent ce9f8143cc
commit ebc24b7063
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,10 +156,10 @@ class Dd4hep(CMakePackage):
depends_on("podio@0.16:", when="@1.24: +edm4hep")
depends_on("py-pytest", type=("build", "test"))
# See https://github.com/AIDASoft/DD4hep/pull/771
# See https://github.com/AIDASoft/DD4hep/pull/771 and https://github.com/AIDASoft/DD4hep/pull/876
conflicts(
"^cmake@3.16:3.17.0",
when="@1.15",
"^cmake@3.16:3.17.2",
when="@1.15:1.18",
msg="cmake version with buggy FindPython breaks dd4hep cmake config",
)
conflicts("~ddrec+dddetectors", msg="Need to enable +ddrec to build +dddetectors.")