Allwmake: Provide better messages concerning CGAL

Patch contributed by Bruno Santos
Resolves patch request https://bugs.openfoam.org/view.php?id=3065
This commit is contained in:
Henry Weller
2018-09-02 23:00:54 +01:00
parent 2cf38b0a5b
commit 416b1fa8c1

View File

@ -3,7 +3,7 @@
# ========= | # ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration | # \\ / O peration |
# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation # \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
# \\/ M anipulation | # \\/ M anipulation |
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# License # License
@ -360,8 +360,14 @@ then
./makeCGAL ./makeCGAL
fi fi
) )
elif [ -z "$FOAMY_HEX_MESH" ]
then
echo " skipped because foamyHexMesh is not selected"
elif [ -n "$FOAMY_HEX_MESH" -a -z "$CGAL_ARCH_PATH" ]
then
echo " using system CGAL"
else else
echo " optional component was not found" echo " optional component CGAL was not found"
fi fi
echo echo