cmComputeLinkInformation: Allow linker to search for the whole name
This MR proposes to allow linker to search for the specific whole library file name for IMPORTED
SHARED
targets that contains irregular library file name and has IMPORTED_NO_SONAME
property set to TRUE
, for platforms where CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME
is TRUE
.
Fixes: #22703 (closed)