Re: [CMake] find_package(mpi) language specification

2013-09-05 Thread Andrew Corrigan
Thank you. QUIET is definitely an improvement, and I can live with that. However, it would still be nice to be able to reduce clutter and remove MPI_CXX_* and MPI_LIBRARY, MPI_EXTRA_LIBRARY from the CMake cache, to avoid overwhelming or confusing users. On Sep 5, 2013, at 1:29 PM, Nick Overdi

Re: [CMake] find_package(mpi) language specification

2013-09-05 Thread Nick Overdijk
You can pass the QUIET parameter to find_package... that'll at least shut it up. Perhaps easiest in your case. On 2013-05-09, at 18:22:25 , Andrew Corrigan wrote: > Hello, > > My C++ code only uses the MPI C library. > > 1. Is there a way to tell find_package(MPI) to only look for the C versi

[CMake] find_package(mpi) language specification

2013-09-05 Thread Andrew Corrigan
Hello, My C++ code only uses the MPI C library. 1. Is there a way to tell find_package(MPI) to only look for the C version? 2. If not, can FindMPI.cmake be changed to support this (just like with Boost you can specify only the components you need) 3. If not, can that warning message "Could NOT