cgal: depends on for older versions (#32802)

* cgal: depends on for older versions
* Update package.py

Co-authored-by: steo85it <steo85it@users.noreply.github.com>
This commit is contained in:
Stefano Bertone 2022-09-27 11:32:16 -04:00 committed by GitHub
parent 9f271fa388
commit ae627150b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")