Commit 4f9bc802 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

install vrpn server

Using a different approach than !744 to install VRPN server. Adding
`other_executables` to install non-paraview executables.
parent 60bd78b6
......@@ -85,7 +85,7 @@ install(
list(REMOVE_ITEM paraview_executables
paraview)
foreach (executable IN LISTS paraview_executables)
foreach (executable IN LISTS paraview_executables other_executables)
superbuild_apple_install_utility(
"\${CMAKE_INSTALL_PREFIX}"
"${paraview_appname}"
......
......@@ -45,6 +45,12 @@ if (qt5_enabled)
set(paraview_has_gui TRUE)
endif ()
set(other_executables)
if (vrpn_enabled)
list(APPEND other_executables
vrpn_server)
endif()
set(python_modules
cinema_python
pygments
......
......@@ -50,6 +50,15 @@ foreach (executable IN LISTS paraview_executables)
endif()
endforeach ()
# install other executables, if any
foreach (executable IN LISTS other_executables)
superbuild_unix_install_program("${superbuild_install_location}/bin/${executable}"
"lib"
SEARCH_DIRECTORIES "${library_paths}"
INCLUDE_REGEXES ${include_regexes}
EXCLUDE_REGEXES ${exclude_regexes})
endforeach ()
if (EXISTS "${superbuild_install_location}/bin/paraview.conf")
install(
FILES "${superbuild_install_location}/bin/paraview.conf"
......
......@@ -43,7 +43,7 @@ if (python3_enabled)
endif ()
# Install paraview executables to bin.
foreach (executable IN LISTS paraview_executables)
foreach (executable IN LISTS paraview_executables other_executables)
if (DEFINED "${executable}_description")
list(APPEND CPACK_NSIS_MENU_LINKS
"bin/${executable}.exe" "${${executable}_description}")
......
Supports Markdown
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