From 93ea941ab3a8859c31090bc638eae308abc6002e Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Tue, 9 Feb 2021 13:21:23 +0100 Subject: [PATCH] SOLVERLAB - 9.6.0 COREFLOWS_WITH_GUI=OFF --- products/compil_scripts/SOLVERLAB.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/products/compil_scripts/SOLVERLAB.sh b/products/compil_scripts/SOLVERLAB.sh index 99794cb..e7dc566 100755 --- a/products/compil_scripts/SOLVERLAB.sh +++ b/products/compil_scripts/SOLVERLAB.sh @@ -20,7 +20,14 @@ CMAKE_OPTIONS=$CMAKE_OPTIONS" -DKERNEL_ROOT_DIR=${KERNEL_ROOT_DIR}" CMAKE_OPTIONS=$CMAKE_OPTIONS" -DGUI_ROOT_DIR=${GUI_ROOT_DIR}" CMAKE_OPTIONS=$CMAKE_OPTIONS" -DMEDCOUPLING_ROOT_DIR=${MEDCOUPLING_ROOT_DIR}" CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_INSTALL_PREFIX=${PRODUCT_INSTALL}" -CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCOREFLOWS_WITH_GUI=ON" + +# GUI was ported after 9.6.0 +if [ $VERSION == "V9_6_0" ] +then + CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCOREFLOWS_WITH_GUI=OFF" +else + CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCOREFLOWS_WITH_GUI=ON" +fi if [ -n "$SAT_HPC" ] then -- 2.39.2