Commit 90ed6cda authored by Ben Boeckel's avatar Ben Boeckel

paraview: install paraview.vtk properly

parent e56d2c6f
......@@ -107,6 +107,16 @@ foreach(program IN LISTS cmb_programs_to_install)
SEARCH_DIRECTORIES
"${superbuild_install_location}/Applications/paraview.app/Contents/Libraries")
superbuild_apple_install_python(
"\${CMAKE_INSTALL_PREFIX}/${cmb_package}"
"${program}.app"
MODULES vtk
NAMESPACE paraview
MODULE_DIRECTORIES
"${superbuild_install_location}/Applications/paraview.app/Contents/Python"
SEARCH_DIRECTORIES
"${superbuild_install_location}/Applications/paraview.app/Contents/Libraries")
if (pythonrequests_enabled)
install(
FILES "${superbuild_install_location}/lib/python2.7/site-packages/requests/cacert.pem"
......
......@@ -39,6 +39,17 @@ superbuild_unix_install_python(
"cmb-${cmb_version}"
"paraview-${paraview_version}")
superbuild_unix_install_python(
"${CMAKE_INSTALL_PREFIX}"
"cmb-${cmb_version}"
MODULES vtk
NAMESPACE paraview
MODULE_DIRECTORIES
"${superbuild_install_location}/lib/python2.7/site-packages"
"${superbuild_install_location}/lib/paraview-${paraview_version}/site-packages"
SEARCH_DIRECTORIES
"paraview-${paraview_version}")
if (cmb_install_paraview_python)
superbuild_unix_install_python(
"${CMAKE_INSTALL_PREFIX}"
......@@ -50,6 +61,17 @@ if (cmb_install_paraview_python)
"${superbuild_install_location}/lib/paraview-${paraview_version}/site-packages"
SEARCH_DIRECTORIES
"paraview-${paraview_version}")
superbuild_unix_install_python(
"${CMAKE_INSTALL_PREFIX}"
"paraview-${paraview_version}"
MODULES vtk
NAMESPACE paraview
MODULE_DIRECTORIES
"${superbuild_install_location}/lib/python2.7/site-packages"
"${superbuild_install_location}/lib/paraview-${paraview_version}/site-packages"
SEARCH_DIRECTORIES
"paraview-${paraview_version}")
endif ()
if (pythonrequests_enabled)
......
......@@ -69,14 +69,13 @@ superbuild_windows_install_python(
superbuild_windows_install_python(
"${CMAKE_INSTALL_PREFIX}"
MODULES vtk
NAMESPACE paraview
MODULE_DIRECTORIES
"${superbuild_install_location}/bin/Lib/site-packages"
"${superbuild_install_location}/lib/site-packages"
"${superbuild_install_location}/lib/paraview-${paraview_version}/site-packages"
SEARCH_DIRECTORIES
"lib"
DESTINATION
"bin/Lib/site-packages/paraview")
"lib")
include(python.functions)
superbuild_install_superbuild_python()
......
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