From: Nabil Ghodbane Date: Thu, 10 Mar 2022 09:41:41 +0000 (+0100) Subject: paraview: switch on CATALYST X-Git-Tag: V9_9_0~143 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=69767656b70c1e1213e3ac87b0d4799a4d91f4f1;p=tools%2Fsat_salome.git paraview: switch on CATALYST --- 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