• Utkarsh Ayachit's avatar
    Fixed build issues when FindMPI picks mpicxx by default. · 36fad208
    Utkarsh Ayachit authored and Kenneth Moreland's avatar Kenneth Moreland committed
    On several machines, FindMPI picks mpicxx by default. Linking with this C++
    library causes issues with the C-based test executables.
    FindMPI.cmake has gone revisions in recent versions of cmake (in 2.8.6 for
    example). FindMPI now provides language specific MPI flags. Fixed the code to
    use these MPI_<lang>_<variable> flags to avoid the afforementioned issue.
CMakeLists.txt 12.4 KB