Commit 4aa9703d authored by Cory Quammen's avatar Cory Quammen
Browse files

paraview: expose option to build VRPlugin

Previously, the VRPlugin would be built if vrpn was enabled. Now,
expose an option PARAVIEW_ENABLE_VRPLUGIN (default ON) to choose
whether to build the plugin. When enabled, turns on VRUI support, and
if vrpn is enabled, turns on VRPN support in the plugin.
parent 8fbd03b9
......@@ -85,6 +85,9 @@ endif()
option(PARAVIEW_ENABLE_MOTIONFX "Enable MotionFX reader, if supported on platform" ON)
mark_as_advanced(PARAVIEW_ENABLE_MOTIONFX)
option(PARAVIEW_ENABLE_VRPLUGIN "Enable VRPlugin" ON)
mark_as_advanced(PARAVIEW_ENABLE_VRPLUGIN)
set(paraview_use_raytracing OFF)
if (ospray_enabled OR visrtx_enabled)
set(paraview_use_raytracing ON)
......@@ -179,7 +182,8 @@ superbuild_add_project(paraview
-DPARAVIEW_PLUGIN_ENABLE_pvNVIDIAIndeX:BOOL=${nvidiaindex_enabled}
# vrpn
-DPARAVIEW_PLUGIN_ENABLE_VRPlugin:BOOL=${vrpn_enabled}
-DPARAVIEW_PLUGIN_ENABLE_VRPlugin:BOOL=${PARAVIEW_ENABLE_VRPLUGIN}
-DPARAVIEW_PLUGIN_VRPlugin_USE_VRUI:BOOL=${PARAVIEW_ENABLE_VRPLUGIN}
-DPARAVIEW_PLUGIN_VRPlugin_USE_VRPN:BOOL=${vrpn_enabled}
# vtkm
......
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