Use GmxManageMPI variables for gmxapi.
authorM. Eric Irrgang <ericirrgang@gmail.com>
Mon, 8 Feb 2021 15:55:14 +0000 (18:55 +0300)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 11 Feb 2021 10:57:18 +0000 (10:57 +0000)
commit8b69e10f8f1f64a9d0e81c17bb4777169187fd79
tree97323598f66a874aaf94d413c95513fa95bf2822
parent3afdf9b085a8d45ed1efdb05977731fb5d7bd445
Use GmxManageMPI variables for gmxapi.

For minimal disruption to the release-2021 infrastructure,
let the `gmxapi` CMake target (libgmxapi) use
`${MPI_COMPILE_FLAGS}` and `${MPI_C_LIBRARIES}`
instead of the `MPI::MPI_*` target(s).

Note: This will conflict with the resolution to #3672.
Conflicts arising in a merge from `release-2021` to `master`
should defer to `master`.

Fixes #3896
api/gmxapi/CMakeLists.txt