MantisBT - CMake
View Issue Details
0013549CMakeModulespublic2012-09-19 04:382013-03-04 08:38
Joe Lindström 
David Cole 
normalminoralways
closedfixed 
Windows/Unix
CMake 2.8.9 
CMake 2.8.10CMake 2.8.10 
0013549: FindMPI.cmake isn't quiet
When I use:

find_package(MPI QUIET)

on a system without MPI installed (and CMake 2.8.9), I get the following messages:

Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH)

CMake 2.8.3 seems to stay quiet.

Also the deprecated MPI_EXTRA_LIBRARY and MPI_LIBRARY show up in my cache, should be marked as advanced?
1. Use the attached example CMakeLists.txt on a system with CMake 2.8.9 and without MPI installed.
No tags attached.
txt CMakeLists.txt (108) 2012-09-19 04:38
https://public.kitware.com/Bug/file/4486/CMakeLists.txt
Issue History
2012-09-19 04:38Joe LindströmNew Issue
2012-09-19 04:38Joe LindströmFile Added: CMakeLists.txt
2012-09-27 00:50David ColeAssigned To => David Cole
2012-09-27 00:50David ColeStatusnew => assigned
2012-09-27 01:11David ColeNote Added: 0031107
2012-09-27 01:12David ColeStatusassigned => resolved
2012-09-27 01:12David ColeResolutionopen => fixed
2012-10-24 17:29David ColeFixed in Version => CMake 2.8.10
2012-10-24 17:29David ColeTarget Version => CMake 2.8.10
2013-03-04 08:38Robert MaynardNote Added: 0032486
2013-03-04 08:38Robert MaynardStatusresolved => closed

Notes
(0031107)
David Cole   
2012-09-27 01:11   
Fix just pushed and merged to 'next':

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8b7a5c616642d4636cb1c6ebfae1f16af0d6d606 [^]
(0032486)
Robert Maynard   
2013-03-04 08:38   
Closing resolved issues that have not been updated in more than 4 months.