]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
SOLVERLAB - 9.6.0 COREFLOWS_WITH_GUI=OFF
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 9 Feb 2021 12:21:23 +0000 (13:21 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 9 Feb 2021 12:21:23 +0000 (13:21 +0100)
products/compil_scripts/SOLVERLAB.sh

index 99794cba708a2a8a3cd03db7876da81c8b418b89..e7dc566e234f74036b3fe705abacb103232d0606 100755 (executable)
@@ -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