Failed to build parlib with cmake 3.8
I failed to build parlib following instructions in README.md using cmake 3.8. This is the newest version available on my cluster.
After some changes to CMakeLists files I succeeded to build the project. I encounter the following problems:
- project() does not allow
DESCRIPTION
andHOMEPAGE_URL
arguments yet; - target
MPI::MPI_C
is to be defined in cmake 3.9 while I have 3.8 only; - generator expression
$<$<BOOL:${MPI_FOUND}>:${MPI_C_LIBRARIES}>
works wrong, possibly a bug of cmake 3.8.
The whole story is in vonopr/parlib#1. Is it possible to merge changes mentioned there?