FindMPI: Should we ignore -fexceptions?
I am not quite sure but to me it seems that -fexceptions
should not be in the compile options of MPI::MPI_CXX
.
In our installation (mvapich), we have -fexceptions
and -fstack-protector-strong
provided by the MPI wrapper. The stack-protector flag is already filtered by CMake (https://github.com/Kitware/CMake/blob/master/Modules/FindMPI.cmake#L589).
To me it seems like we should also ignore -fexceptions
.
Edited by Brad King