[CMake] FindMPI

Zaak Beekman zbeekman at gmail.com
Thu Dec 1 14:10:48 EST 2016


On Thu, Dec 1, 2016 at 2:02 PM Chuck Atkins <chuck.atkins at kitware.com>
wrote:

>
> I think the logic is a bit backwards on this and if you were to make a
> change, I'd suggest it be there and re-order a few things such that if MPI
> things haven't been already explicitly set then the *first* thing to do
> (rather than last) is test the regular compilers, then if those don't work,
> search for and interrogate the MPI wrappers.
>
> - Chuck
>

I agree, and further more, why does it not interrogate the MPI wrapper if
set as FC or CC? Would there be any harm in attempting to pull out the
{LIBRARIES,INCLUD_DIRS} etc.?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20161201/951ec2d0/attachment.html>


More information about the CMake mailing list