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)
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")
# Install the paraview.vtk module.
install(CODE
"file(INSTALL
FILES \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${cmb_package}/${program}.app/Contents/Python/vtk/\"
DESTINATION \"\${CMAKE_INSTALL_PREFIX}/${cmb_package}/${program}.app/Contents/Python/paraview/vtk\")"
COMPONENT superbuild)
if (pythonrequests_enabled)
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