BUG: Corrected FFTW_ARCH_PATH - patch contributed by Bruno Santos. Fixes #210

This commit is contained in:
Andrew Heather 2016-08-18 11:22:25 +01:00
parent 6afc9fb15d
commit 9fb439bb46

View File

@ -64,7 +64,7 @@ then
# it is either located within ThirdParty, or a central installation
# outside of ThirdParty and must be added to the lib-path.
ending="${FFTW_ARCH_PATH_PATH##*-}"
ending="${FFTW_ARCH_PATH##*-}"
if [ "$ending" != none -a "$ending" != system ]
then
_foamAddLib $FFTW_ARCH_PATH/lib$WM_COMPILER_LIB_ARCH