find_*: Add debug logging
Teach the find_package
, find_library
, find_program
, find_path
, and
find_file
commands to print debug log messages when enabled by the
--debug-find
command-line option or CMAKE_FIND_DEBUG_MODE
variable.
Builds from !2313 (closed) and !3014 (closed).
Edited by Brad King