summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/root/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py
index bbd29cc2c4..5bdaed289a 100644
--- a/var/spack/repos/builtin/packages/root/package.py
+++ b/var/spack/repos/builtin/packages/root/package.py
@@ -352,6 +352,8 @@ class Root(CMakePackage):
depends_on("xrootd", when="+xrootd")
depends_on("xrootd@:4", when="@:6.22.03 +xrootd")
+ depends_on("googletest", when="@6.28.00:", type="test")
+
# ###################### Conflicts ######################
# I was unable to build root with any Intel compiler