From 0f843f3a41108e462115c4a68aa319f31a9b9d2e Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Mon, 23 May 2022 11:33:01 +0200 Subject: [PATCH] CO8: switch off documentation for PERSALYS --- products/compil_scripts/PERSALYS-v12.0.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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" -- 2.39.2