summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorEric Brugger <brugger1@llnl.gov>2021-10-21 00:53:13 -0700
committerGitHub <noreply@github.com>2021-10-21 09:53:13 +0200
commit7f4bf2b2e1263d2c0900c0c15e1f65b15a79fa49 (patch)
tree58e559252a8a1581752816ede41fc73554c5808f /var
parent3fe1785d33b08497f34848c19572d1b303c6f9ee (diff)
downloadspack-7f4bf2b2e1263d2c0900c0c15e1f65b15a79fa49.tar.gz
spack-7f4bf2b2e1263d2c0900c0c15e1f65b15a79fa49.tar.bz2
spack-7f4bf2b2e1263d2c0900c0c15e1f65b15a79fa49.tar.xz
spack-7f4bf2b2e1263d2c0900c0c15e1f65b15a79fa49.zip
vtk: make use of system GLEW dependent on osmesa being disabled. (#26764)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/vtk/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/vtk/package.py b/var/spack/repos/builtin/packages/vtk/package.py
index f33bdce640..49de4e28b3 100644
--- a/var/spack/repos/builtin/packages/vtk/package.py
+++ b/var/spack/repos/builtin/packages/vtk/package.py
@@ -269,7 +269,7 @@ class Vtk(CMakePackage):
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: