Skip to content
Snippets Groups Projects
Commit 579f559a authored by Henry Weller's avatar Henry Weller
Browse files

Correct handling of the CGAL version variable for makeCGAL in ThirdParty

parent f7684022
No related merge requests found
...@@ -11,10 +11,6 @@ wmake -all $targetType snappyHexMesh ...@@ -11,10 +11,6 @@ wmake -all $targetType snappyHexMesh
if [ -n "$FOAMY_HEX_MESH" ] if [ -n "$FOAMY_HEX_MESH" ]
then then
# Get CGAL and boost versions
. $WM_PROJECT_DIR/etc/config.sh/functions
_foamEval $($WM_PROJECT_DIR/bin/foamEtcFile config.sh/CGAL)
foamyMesh/Allwmake $targetType $* foamyMesh/Allwmake $targetType $*
fi fi
......
...@@ -172,6 +172,11 @@ _foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.sh/paraview` ...@@ -172,6 +172,11 @@ _foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.sh/paraview`
_foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.sh/ensight` _foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.sh/ensight`
_foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.sh/gperftools` _foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.sh/gperftools`
if [ ! -z "$FOAMY_HEX_MESH" ]
then
_foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.sh/CGAL`
fi
# Clean environment paths again. Only remove duplicates # Clean environment paths again. Only remove duplicates
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
boost_version=boost-system boost_version=boost-system
cgal_version=cgal-system cgal_version=cgal-system
#cgal_version=CGAL-4.8 #cgal_version=CGAL-4.8.1
thirdPartyPath=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER thirdPartyPath=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER
...@@ -61,6 +61,6 @@ then ...@@ -61,6 +61,6 @@ then
echo " $cgal_version at $CGAL_ARCH_PATH" 1>&2 echo " $cgal_version at $CGAL_ARCH_PATH" 1>&2
fi fi
unset boost_version cgal_version thirdPartyPath unset thirdPartyPath
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
...@@ -218,6 +218,10 @@ _foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.csh/mpi` ...@@ -218,6 +218,10 @@ _foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.csh/mpi`
_foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.csh/paraview` _foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.csh/paraview`
_foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.csh/ensight` _foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.csh/ensight`
if ( ($?FOAMY_HEX_MESH) ) then
_foamSource `$WM_PROJECT_DIR/bin/foamEtcFile config.csh/CGAL`
endif
# Clean environment paths again. Only remove duplicates # Clean environment paths again. Only remove duplicates
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment