VTK package: don't require "+llvm" for mesa dependency (#9256)
This commit is contained in:
parent
f88735c1eb
commit
4be8ae2b70
1 changed files with 3 additions and 2 deletions
|
@ -62,8 +62,9 @@ class Vtk(CMakePackage):
|
||||||
# drivers is faster, but it must be done externally.
|
# drivers is faster, but it must be done externally.
|
||||||
depends_on('opengl', when='~osmesa')
|
depends_on('opengl', when='~osmesa')
|
||||||
|
|
||||||
# mesa default is software rendering, make it faster with llvm
|
# Note: it is recommended to use mesa+llvm, if possible.
|
||||||
depends_on('mesa+llvm', when='+osmesa')
|
# mesa default is software rendering, llvm makes it faster
|
||||||
|
depends_on('mesa', when='+osmesa')
|
||||||
|
|
||||||
# VTK will need Qt5OpenGL, and qt needs '-opengl' for that
|
# VTK will need Qt5OpenGL, and qt needs '-opengl' for that
|
||||||
depends_on('qt+opengl', when='+qt')
|
depends_on('qt+opengl', when='+qt')
|
||||||
|
|
Loading…
Reference in a new issue