From: Nabil Ghodbane Date: Mon, 23 May 2022 09:33:01 +0000 (+0200) Subject: CO8: switch off documentation for PERSALYS X-Git-Tag: V9_9_0~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0f843f3a41108e462115c4a68aa319f31a9b9d2e;p=tools%2Fsat_salome.git CO8: switch off documentation for PERSALYS --- diff --git a/products/compil_scripts/PERSALYS-v12.0.sh b/products/compil_scripts/PERSALYS-v12.0.sh index a0fa37c..c7a193b 100755 --- a/products/compil_scripts/PERSALYS-v12.0.sh +++ b/products/compil_scripts/PERSALYS-v12.0.sh @@ -32,7 +32,11 @@ elif [ "$SAT_qwt_IS_NATIVE" != "1" ]; then CMAKE_OPTIONS+=" -DQWT_INCLUDE_DIR=$QWT_ROOT_DIR/include" fi -CMAKE_OPTIONS+=" -DUSE_SPHINX=ON" +if [[ $DIST_NAME == "CO" && $DIST_VERSION == "8" ]]; then + CMAKE_OPTIONS+=" -DUSE_SPHINX=OFF" # missing tex-preview LateX package for CentOS 8 +else + CMAKE_OPTIONS+=" -DUSE_SPHINX=ON" +fi CMAKE_OPTIONS+=" -DSPHINX_ROOT_DIR=$SPHINX_ROOT_DIR" CMAKE_OPTIONS+=" -DYACS_ROOT_DIR=$YACS_ROOT_DIR" CMAKE_OPTIONS+=" -DSalomeYACS_DIR=$YACS_ROOT_DIR/adm/cmake"