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

apple: install paraview utilities into each app

parent 0d5d8b7b
Pipeline #16968 passed with stage
......@@ -40,6 +40,15 @@ foreach(program IN LISTS cmb_programs_to_install)
DESTINATION "${cmb_package}/${program}.app/Contents"
COMPONENT superbuild)
foreach (executable IN LISTS paraview_executables)
superbuild_apple_install_utility(
"\${CMAKE_INSTALL_PREFIX}/${cmb_package}"
"${program}.app"
"${superbuild_install_location}/Applications/paraview.app/Contents/bin/${executable}"
SEARCH_DIRECTORIES
"${superbuild_install_location}/lib")
endforeach ()
install(CODE
"file(MAKE_DIRECTORY \"\${CMAKE_INSTALL_PREFIX}/${cmb_package}/${program}.app/Contents/Resources\")
file(WRITE \"\${CMAKE_INSTALL_PREFIX}/${cmb_package}/${program}.app/Contents/Resources/qt.conf\" \"\")"
......
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