Commit 5f639393 authored by Ben Boeckel's avatar Ben Boeckel

apple: install paraview.vtk by copying the vtk module

The required libraries are not properly found.
parent 63521ba3
...@@ -107,15 +107,12 @@ foreach(program IN LISTS cmb_programs_to_install) ...@@ -107,15 +107,12 @@ foreach(program IN LISTS cmb_programs_to_install)
SEARCH_DIRECTORIES SEARCH_DIRECTORIES
"${superbuild_install_location}/Applications/paraview.app/Contents/Libraries") "${superbuild_install_location}/Applications/paraview.app/Contents/Libraries")
superbuild_apple_install_python( # Install the paraview.vtk module.
"\${CMAKE_INSTALL_PREFIX}/${cmb_package}" install(CODE
"${program}.app" "file(INSTALL
MODULES vtk FILES \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${cmb_package}/${program}.app/Contents/Python/vtk/\"
NAMESPACE paraview DESTINATION \"\${CMAKE_INSTALL_PREFIX}/${cmb_package}/${program}.app/Contents/Python/paraview/vtk\")"
MODULE_DIRECTORIES COMPONENT superbuild)
"${superbuild_install_location}/Applications/paraview.app/Contents/Python"
SEARCH_DIRECTORIES
"${superbuild_install_location}/Applications/paraview.app/Contents/Libraries")
if (pythonrequests_enabled) if (pythonrequests_enabled)
install( install(
......
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