Commit 121ae6f1 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

macOS: package `vtkmodules` and more hack for `paraview.vtk`

Update paraview.bundle.cmake to package vtkmodules package.

The tricks to remove paraview.vtk and replace with vtk are
no longer needed and hence removed.
parent ea2d93aa
......@@ -86,6 +86,7 @@ if (python_enabled)
"${paraview_appname}"
MODULES paraview
vtk
vtkmodules
${python_modules}
MODULE_DIRECTORIES
"${superbuild_install_location}/Applications/paraview.app/Contents/Python"
......@@ -93,13 +94,6 @@ if (python_enabled)
"${superbuild_install_location}/Applications/paraview.app/Contents/Libraries"
"${superbuild_install_location}/lib")
install(CODE
"file(REMOVE_RECURSE \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${paraview_appname}/Contents/Python/paraview/vtk\")
file(INSTALL
\"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${paraview_appname}/Contents/Python/vtk\"
DESTINATION \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${paraview_appname}/Contents/Python/paraview/\")"
COMPONENT superbuild)
if (matplotlib_enabled)
install(
DIRECTORY "${superbuild_install_location}/lib/python2.7/site-packages/matplotlib/mpl-data/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment