COMP: MGridGenGamgAgglomeration : compile only if present in ThirdParty

This commit is contained in:
mattijs
2011-02-02 12:42:45 +00:00
parent 8b5840d012
commit 3e6bfa814f
2 changed files with 7 additions and 2 deletions

View File

@ -3,6 +3,11 @@ cd ${0%/*} || exit 1 # run from this directory
[ $# -ge 1 ] && makeOption=$1 || makeOption=libso
set -x
wmake $makeOption MGridGenGamgAgglomeration
export ParMGridGen=$WM_THIRD_PARTY_DIR/ParMGridGen-1.0
if [ -d "$ParMGridGen/MGridGen/Lib" ]
then
wmake $makeOption MGridGenGamgAgglomeration
fi
# ----------------------------------------------------------------- end-of-file

View File

@ -1,4 +1,4 @@
ParMGridGen = $(WM_THIRD_PARTY_DIR)/ParMGridGen-1.0
/* Needs ParMGridGen environment variable set. (see Allwmake script) */
TYPE_REAL=
#if defined(WM_SP)