From ab999d5af90f1bff644b5134bb370b2716e1bcf0 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Wed, 1 Mar 2023 07:13:50 -0600 Subject: [PATCH] dd4hep: depends_on root +webgui when +ddeve ^root @6.28: (#35624) --- var/spack/repos/builtin/packages/dd4hep/package.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/dd4hep/package.py b/var/spack/repos/builtin/packages/dd4hep/package.py index d896dd12ec..3930756497 100644 --- a/var/spack/repos/builtin/packages/dd4hep/package.py +++ b/var/spack/repos/builtin/packages/dd4hep/package.py @@ -142,7 +142,10 @@ class Dd4hep(CMakePackage): depends_on("boost +iostreams", when="+ddg4") depends_on("boost +system +filesystem", when="%gcc@:7") depends_on("root @6.08: +gdml +math +python") - depends_on("root @6.08: +gdml +math +python +x +opengl", when="+ddeve") + with when("+ddeve"): + depends_on("root @6.08: +x +opengl") + depends_on("root +webgui", when="^root@6.28:") + depends_on("root @:6.27", when="@:1.23") depends_on("root @6.08: +gdml +math +python +x +opengl", when="+utilityapps") extends("python")