vtk: make use of system GLEW dependent on osmesa being disabled. (#26764)

This commit is contained in:
Eric Brugger 2021-10-21 00:53:13 -07:00 committed by GitHub
parent 3fe1785d33
commit 7f4bf2b2e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: