COMP: foamDebugSwitches: support for missing randomProcesses. Fixes #213.

This commit is contained in:
mattijs
2016-08-19 10:46:53 +01:00
parent cefe2ea541
commit 78bbfc4409
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
if [ -f "$FFTW_ARCH_PATH/include/fftw3.h" ] || \
[ "${FFTW_ARCH_PATH##*-}" = system -a -f "/usr/include/fftw3.h" ]
then
export LINK_FLAGS="-lrandomProcesses"
fi
wmake
#------------------------------------------------------------------------------

View File

@ -1,4 +1,5 @@
EXE_LIBS = \
$(LINK_FLAGS) \
-lsnappyHexMesh \
-lbarotropicCompressibilityModel \
-lsolidThermo \
@ -41,7 +42,6 @@ EXE_LIBS = \
-lOpenFOAM \
-lpotential \
-lradiationModels \
-lrandomProcesses \
-lreactionThermophysicalModels \
-lreconstruct \
-lsampling \