vtk: fix install path to lib (#26387)

This commit is contained in:
Manuela Kuhn 2021-10-01 02:52:09 +02:00 committed by GitHub
parent 046ed47b1f
commit 032ce20171
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,6 +144,10 @@ def cmake_args(self):
'-DBUILD_SHARED_LIBS=ON',
'-DVTK_RENDERING_BACKEND:STRING={0}'.format(opengl_ver),
# prevents installation into lib64 which might not be in the path
# (solves #26314)
'-DCMAKE_INSTALL_LIBDIR:PATH=lib',
# In general, we disable use of VTK "ThirdParty" libs, preferring
# spack-built versions whenever possible
'-DVTK_USE_SYSTEM_LIBRARIES:BOOL=ON',