From: Nabil Ghodbane Date: Mon, 7 Mar 2022 10:22:38 +0000 (+0100) Subject: CentOS 8: fails to build documentation of OT X-Git-Tag: V9_9_0~145 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8b1625b6bb9e33047926b8fb405b26cce711f81b;p=tools%2Fsat_salome.git CentOS 8: fails to build documentation of OT --- diff --git a/products/compil_scripts/openturns-1.17.sh b/products/compil_scripts/openturns-1.17.sh index 5d45c4e..efda7e1 100755 --- a/products/compil_scripts/openturns-1.17.sh +++ b/products/compil_scripts/openturns-1.17.sh @@ -155,8 +155,8 @@ if [[ -d "$SOURCE_DIR/otfftw-0.11" ]]; then mkdir ${BUILD_DIR}/$k cd ${BUILD_DIR}/$k CMAKE_EXTRA_OPTIONS= - if [[ $DIST_NAME == "CO" && $DIST_VERSION == "7" ]]; then - CMAKE_EXTRA_OPTIONS+=" -DBUILD_DOC=OFF" # needs extra latex modules on CentOS 7 + if [[ $DIST_NAME == "CO" ]]; then + CMAKE_EXTRA_OPTIONS+=" -DBUILD_DOC=OFF" # needs extra latex modules on CentOS 7, 8 CMAKE_EXTRA_OPTIONS+=" -DUSE_SPHINX=OFF" fi if [[ $k == "otmixmod" ]]; then