vtk: Limit freetype versions (#24389)

freetype 2.0.3 introduces an incompatible change

Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
This commit is contained in:
Erik Schnetter 2021-06-17 17:13:33 -04:00 committed by GitHub
parent 1c22742eed
commit fa89ca2eb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,6 +89,9 @@ class Vtk(CMakePackage):
depends_on('mpi', when='+mpi')
depends_on('expat')
# See <https://gitlab.kitware.com/vtk/vtk/-/issues/18033> for why vtk doesn't
# work yet with freetype 2.10.3 (including possible patches)
depends_on('freetype @:2.10.2')
depends_on('freetype')
depends_on('glew')
# set hl variant explicitly, similar to issue #7145