From ae627150b2f188efb867f256299397c68a8060b2 Mon Sep 17 00:00:00 2001 From: Stefano Bertone Date: Tue, 27 Sep 2022 11:32:16 -0400 Subject: [PATCH] cgal: depends on for older versions (#32802) * cgal: depends on for older versions * Update package.py Co-authored-by: steo85it --- var/spack/repos/builtin/packages/cgal/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/cgal/package.py b/var/spack/repos/builtin/packages/cgal/package.py index 0adcd6fe71..c49b0d240e 100644 --- a/var/spack/repos/builtin/packages/cgal/package.py +++ b/var/spack/repos/builtin/packages/cgal/package.py @@ -52,7 +52,8 @@ class Cgal(CMakePackage): depends_on("cmake@2.8.11:", type="build") # Essential Third Party Libraries - depends_on("boost+exception+math+random+container") + depends_on("boost+exception+math+random+container", when="@5.0:") + depends_on("boost+thread+system", when="@:5.0") depends_on("gmp") depends_on("mpfr")