]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
CO8: switch off documentation for PERSALYS
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 23 May 2022 09:33:01 +0000 (11:33 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 23 May 2022 09:33:01 +0000 (11:33 +0200)
products/compil_scripts/PERSALYS-v12.0.sh

index a0fa37c780d258847dfe3468b89160fe7b32dd6c..c7a193be46dda62013e030dfeee1e63da3af58b8 100755 (executable)
@@ -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"