find_package: optionally resolve symlinks when discovering packages
Teach find_package() to resolve symlinks when constructing
relocatable prefix paths from discovered cmake config files.
The CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS
variable enables
this behavior when set to TRUE
.
Fixes: #18704 (closed)