fi
### VTK general settings
-if [ -n "$SALOME_USE_64BIT_IDS" ]
-then
+if [ "$SALOME_USE_64BIT_IDS" == "1" ]; then
echo "WARNING: user requested VTK 64 bits encoding..."
CMAKE_OPTIONS+=" -DVTK_USE_64BIT_IDS:BOOL=ON"
else
fi
### VTK general settings
-if [ -n "$SALOME_USE_64BIT_IDS" ]
-then
+if [ "$SALOME_USE_64BIT_IDS" == "1" ]; then
echo "WARNING: user requested VTK 64 bits encoding..."
CMAKE_OPTIONS="${CMAKE_OPTIONS} -DVTK_USE_64BIT_IDS:BOOL=ON"
else
fi
### VTK general settings
-if [ -n "$SALOME_USE_64BIT_IDS" ]
-then
+if [ "$SALOME_USE_64BIT_IDS" == "1" ]; then
echo "WARNING: user requested VTK 64 bits encoding..."
CMAKE_OPTIONS+=" -DVTK_USE_64BIT_IDS:BOOL=ON"
else
export F77=gfortran
fi
-if [ -n "$SALOME_USE_64BIT_IDS" ]
-then
+if [ "$SALOME_USE_64BIT_IDS" == "1" ]; then
echo "WARNING: user requested 64 bits encoding for integers..."
export FFLAGS="-g -O2 -ffixed-line-length-none -fdefault-integer-8"
export FCFLAGS="-fdefault-integer-8"
export F77=gfortran
fi
-if [ -n "$SALOME_USE_64BIT_IDS" ]
-then
+if [ "$SALOME_USE_64BIT_IDS" == "1" ]; then
echo "WARNING: user requested 64 bits encoding for integers..."
export FFLAGS=-fdefault-integer-8
export FFLAGS=$FFLAGS' -g -O2 -ffixed-line-length-none'