summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/dd4hep/package.py5
1 files changed, 4 insertions, 1 deletions
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")