summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Stam <33101855+EthanS94@users.noreply.github.com>2021-07-28 09:30:21 -0600
committerGitHub <noreply@github.com>2021-07-28 17:30:21 +0200
commita7ed20cb9272cdeabab7d7af16b2fd1a268a0e7d (patch)
treed6acc7e2f427a1773fe69cfba3e304194c02a72f
parente29168ad023950dafecfea7971458b471637ecd8 (diff)
downloadspack-a7ed20cb9272cdeabab7d7af16b2fd1a268a0e7d.tar.gz
spack-a7ed20cb9272cdeabab7d7af16b2fd1a268a0e7d.tar.bz2
spack-a7ed20cb9272cdeabab7d7af16b2fd1a268a0e7d.tar.xz
spack-a7ed20cb9272cdeabab7d7af16b2fd1a268a0e7d.zip
ParaView: disable VTK_MODULE_USE_EXTERNAL_ParaView_vtkcatalyst to avoid looking for external Catalyst_DIR (#25061)
-rw-r--r--var/spack/repos/builtin/packages/paraview/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/paraview/package.py b/var/spack/repos/builtin/packages/paraview/package.py
index 157e48fd08..ad321736d3 100644
--- a/var/spack/repos/builtin/packages/paraview/package.py
+++ b/var/spack/repos/builtin/packages/paraview/package.py
@@ -273,6 +273,9 @@ class Paraview(CMakePackage, CudaPackage):
'-DBUILD_TESTING:BOOL=OFF',
'-DOpenGL_GL_PREFERENCE:STRING=LEGACY']
+ if spec.satisfies('@5.10:'):
+ cmake_args.append('-DVTK_MODULE_USE_EXTERNAL_ParaView_vtkcatalyst:BOOL=OFF')
+
if spec.satisfies('@:5.7') and spec['cmake'].satisfies('@3.17:'):
cmake_args.append('-DFPHSA_NAME_MISMATCHED:BOOL=ON')