From 416b1fa8c1e15c054797dec6ef31839ed1e4b5dc Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Sun, 2 Sep 2018 23:00:54 +0100 Subject: [PATCH] Allwmake: Provide better messages concerning CGAL Patch contributed by Bruno Santos Resolves patch request https://bugs.openfoam.org/view.php?id=3065 --- Allwmake | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Allwmake b/Allwmake index 1fd86cfc..e226186e 100755 --- a/Allwmake +++ b/Allwmake @@ -3,7 +3,7 @@ # ========= | # \\ / F ield | OpenFOAM: The Open Source CFD Toolbox # \\ / O peration | -# \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation +# \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation # \\/ M anipulation | #------------------------------------------------------------------------------ # License @@ -360,8 +360,14 @@ then ./makeCGAL 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 - echo " optional component was not found" + echo " optional component CGAL was not found" fi echo