mirror of
https://develop.openfoam.com/Development/ThirdParty-common.git
synced 2025-12-08 06:57:50 +00:00
ENH: SOURCE_CGAL_VERSIONS_ONLY workaround replaced in OpenFOAM
Unset the _foamAddLib function prior to sourcing config.sh/CGAL
DOC: restriction about mixing ThirdParty and system gmp/mpfr
does not apply anymore.
This commit is contained in:
9
makeCGAL
9
makeCGAL
@ -34,14 +34,13 @@
|
||||
# simply specify a 'system' version. For example,
|
||||
# makeCGAL boost-system gmp-system
|
||||
#
|
||||
# Mixing system and ThirdParty for gmp/mpfr is not supported.
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# Get CGAL, boost and gmp/mpfr versions
|
||||
. $WM_PROJECT_DIR/etc/config.sh/functions
|
||||
_foamEval SOURCE_CGAL_VERSIONS_ONLY=yes \
|
||||
$($WM_PROJECT_DIR/bin/foamEtcFile config.sh/CGAL)
|
||||
unset _foamAddPath _foamAddLib _foamAddMan # get settings only
|
||||
|
||||
_foamSource $($WM_PROJECT_DIR/bin/foamEtcFile config.sh/CGAL)
|
||||
_foamSource $($WM_PROJECT_DIR/bin/foamEtcFile config.sh/compiler)
|
||||
|
||||
boostPACKAGE=${boost_version:-boost-system}
|
||||
@ -83,8 +82,6 @@ To override this behaviour (and use the system boost and/or gmp/mpfr),
|
||||
simply specify a 'system' version. For example,
|
||||
$Script boost-system gmp-system
|
||||
|
||||
Note: mixing system and ThirdParty for gmp/mpfr is not supported.
|
||||
|
||||
USAGE
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user