Suggestion: find_library(): same logging as find_package()
find_package(Git REQUIRED)
prints the following message:
-- Found Git: /usr/bin/git (found version "2.7.4")
but find_library()
does not do this.
It would be very useful when investigating problems with cross-compiling. We could detect that wrong library is used (host-specific instead of target-specific) earlier.