I sometimes find myself wondering which Find<package>.cmake file CMake is actually using.
For instance I have two FindOpenMP.cmake files on my system, and I would like to know which one is used – if any – with
find_package(OpenMP)
Can CMake print the location of the module file used to resolve a find_package() call?
I am using CMake 3.18.2.