From 69767656b70c1e1213e3ac87b0d4799a4d91f4f1 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Thu, 10 Mar 2022 10:41:41 +0100 Subject: [PATCH] paraview: switch on CATALYST --- products/compil_scripts/ParaView-5.9.0.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/products/compil_scripts/ParaView-5.9.0.sh b/products/compil_scripts/ParaView-5.9.0.sh index c9942e0..a565330 100755 --- a/products/compil_scripts/ParaView-5.9.0.sh +++ b/products/compil_scripts/ParaView-5.9.0.sh @@ -30,6 +30,16 @@ CMAKE_OPTIONS+=" -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON" ### 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 -- 2.39.2