From: nghodban Date: Mon, 13 Sep 2021 22:12:02 +0000 (+0200) Subject: spns #24377: openturns + ParaView - ParaView build X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5f699bce8e574a22d7fad2c84cbc08135e06aa95;p=tools%2Fsat_salome.git spns #24377: openturns + ParaView - ParaView build --- diff --git a/products/compil_scripts/ParaView-5.9.0.sh b/products/compil_scripts/ParaView-5.9.0.sh index 019d22b..2138955 100755 --- a/products/compil_scripts/ParaView-5.9.0.sh +++ b/products/compil_scripts/ParaView-5.9.0.sh @@ -212,6 +212,13 @@ CMAKE_OPTIONS="${CMAKE_OPTIONS} -DPARAVIEW_PLUGIN_ENABLE_pvblot:BOOL=OFF" # allow additional plugins CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_ALL_NEW_OBJECT_FACTORY:BOOL=ON" +# Openturns: +if [-n "$OPENTURNS_ROOT_DIR" ] +then + echo "INFO: Adding OpenTurns support..." + CMAKE_OPTIONS="${CMAKE_OPTIONS} -DPARAVIEW_ENABLE_OPENTURNS=ON" + CMAKE_OPTIONS="${CMAKE_OPTIONS} -DOpenTURNS_DIR=$OPENTURNS_ROOT_DIR/cmake/openturns" +fi echo echo "*** cmake" ${CMAKE_OPTIONS} cmake ${CMAKE_OPTIONS} $SOURCE_DIR