[cmake-developers] Patch: Don't emit warning when config file not found

Christoph Grüninger foss at grueninger.de
Tue Aug 9 16:35:39 EDT 2016


Dear CMake developers,
I am annoyed by the lengthy and disturbing warning CMake emits when a
package is not found because neither a Find*.cmake file is found nor a
*config.cmake file. I always try to have zero warnings, but missing
dependencies is common. Emitting a warning is too much and too noisy in
my opinion.

Please find attached patch, which reduces the warning to a single line
with the status that the package was not found.

Bye
Christoph

-- 
However, the occasional visit of success provides just the excitement
an engineer needs to face work the following day.   [Koichi Tanaka]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-emit-warning-when-config-file-not-found.patch
Type: text/x-patch
Size: 3460 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160809/516d8d30/attachment.bin>


More information about the cmake-developers mailing list