### OpenGL settings
CMAKE_OPTIONS+=" -DOpenGL_GL_PREFERENCE:STRING=LEGACY"
CMAKE_OPTIONS+=" -DCATALYST_BUILD_STUB_IMPLEMENTATION:BOOL=ON"
+if [ $VERSION == "V9_7_0" ] || [ $VERSION == "V9_8_0" ]; then
+ echo "INFO: skipping CATALYST..."
+else
+ echo "INFO: setting CATALYST"
+ CMAKE_OPTIONS+=" -DPARAVIEW_BUILD_PLUGIN_CatalystScriptGeneratorPlugin=ON"
+ CMAKE_OPTIONS+=" -DPARAVIEW_AUTOLOAD_PLUGIN_CatalystScriptGeneratorPlugin=ON"
+ CMAKE_OPTIONS+=" -DPARAVIEW_BUILD_CATALYST_ADAPTORS=ON"
+ CMAKE_OPTIONS+=" -DUSE_CATALYST:BOOL=ON"
+ CMAKE_OPTIONS+=" -DPARAVIEW_ENABLE_CATALYST=ON"
+fi
### spns #20550 - Headless mode
if [ -n "$PARAVIEW_HEADLESS_MODE" ]
then