[CMake] Warning when find_package does not find package
Christoph Grüninger
christoph.grueninger at iws.uni-stuttgart.de
Sun May 25 06:20:44 EDT 2014
Hi CMake developers,
I further investigated my problem that I get a warning message
from find_package which could not find the config file of an
optional package, even when called with NO_MODULE.
In cmFindPackageCommand.cxx, lines 811 - 822 the error
messages
are printed out as AUTHOR_WARNINGs or WARNINGs. I'd expect to
find these verbose message in the CMakeError.log and that the
output simply contains a single line "-- Could NOT find <A>" -
at least if NO_MODULE is set.
Is there a reason to stick to the current behavior? Is it
worth
to open a bug and/or provide a patch?
Best,
Christoph
--
People don't do Serious Work on Unix systems: they send jokes
around
the world on UUCP-net and write Adventure games and research
papers.
[Ed Post]
More information about the CMake
mailing list