When we initially configure using CMake, we get some messages about some of our find_package()
instructions, e.g.:
-- Found CUDAToolkit: /usr/local/cuda/include (found suitable version "12.0.140", minimum required is "10.1")
or:
-- Found Python: /usr/bin/python3.11 (found version "3.11.2") found components: Interpreter
but for other packages we find_package()
- nothing is printed by default.
Other than printing such a message myself - is there a way I can tell CMake to print some message along those lines for every package it finds?
Note: In this related question, the command-line option -D CMAKE_FIND_DEBUG_MODE=ON
is mentioned; but that prints a ton of debug information which I don't want.