vtk: make use of system GLEW dependent on osmesa being disabled. (#26764)
This commit is contained in:
parent
3fe1785d33
commit
7f4bf2b2e1
@ -269,7 +269,7 @@ def cmake_args(self):
|
||||
|
||||
cmake_args.append('-DVTK_RENDERING_BACKEND:STRING=' + opengl_ver)
|
||||
|
||||
if spec.satisfies('@:8.1.0'):
|
||||
if spec.satisfies('@:8.1.0') and '+osmesa' not in spec:
|
||||
cmake_args.append('-DVTK_USE_SYSTEM_GLEW:BOOL=ON')
|
||||
|
||||
if '+osmesa' in spec:
|
||||
|
Loading…
Reference in New Issue
Block a user