From ea3010355c7534d7cc54240179d212409dd41455 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Thu, 1 Dec 2022 12:31:34 +0100 Subject: [PATCH] ALAMOS PDF export feature --- products/compil_scripts/ParaView-5.11.0.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/products/compil_scripts/ParaView-5.11.0.sh b/products/compil_scripts/ParaView-5.11.0.sh index ac03948..883cf48 100755 --- a/products/compil_scripts/ParaView-5.11.0.sh +++ b/products/compil_scripts/ParaView-5.11.0.sh @@ -311,6 +311,12 @@ CMAKE_OPTIONS+=" -DPARAVIEW_PLUGIN_AUTOLOAD_SurfaceLIC=ON" CMAKE_OPTIONS+=" -DPARAVIEW_PLUGIN_AUTOLOAD_ThickenLayeredCells=ON" CMAKE_OPTIONS+=" -DPARAVIEW_PLUGIN_AUTOLOAD_VTKmFilters=ON" +# ALAMOS build uses PDF export feature. +if [ "${SALOME_APPLICATION_NAME}" == "ALAMOS" ]; then + echo "WARNING: Assumming application is ALAMOS, switching on PDF export..." + CMAKE_OPTIONS+=" -DVTK_MODULE_ENABLE_VTK_PythonContext2D=YES" + CMAKE_OPTIONS+=" -DVTK_MODULE_ENABLE_VTK_IOExportPDF=YES" +fi echo echo "*** cmake" ${CMAKE_OPTIONS} -- 2.39.2