Skip to content

Commit 677d22e

Browse files
Fix setting ADAPTER_TARGET_DIR
* Will use value of `ADAPTER_TARGET_DIR` if set * Will use `FOAM_USER_LIBBIN` as `ADAPTER_TARGET_DIR` if `ADAPTER_TARGET_DIR` is unset
1 parent a672e2c commit 677d22e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Allwmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ adapter_build_command(){
1717
}
1818

1919
# Where should the adapter be built? Default: "${FOAM_USER_LIBBIN}"
20-
ADAPTER_TARGET_DIR="${FOAM_USER_LIBBIN:-}"
20+
ADAPTER_TARGET_DIR="${ADAPTER_TARGET_DIR:-$FOAM_USER_LIBBIN}"
2121

2222
# More information for compatibility with OpenFOAM
2323
DOC_COMPATIBILITY="https://precice.org/adapter-openfoam-support.html"

0 commit comments

Comments
 (0)