Thank you. Given the tag on the ticket and the fact that the linked ticket addressing the same issue remains unresolved, it seems unlikely that a solution will be implemented in the near future.
Do you have any insight into the complexity of resolving this? My initial thought would be to first check whether the library is static using ExtractStaticLibraryName or perhaps against CMAKE_IMPORT_LIBRARY_SUFFIX, and then fall back to ExtractSharedLibraryName. This would change the precedence of the file extension variables, which could potentially introduce unintended side effects.
From what I can tell, only Windows-specific platform .cmake modules set CMAKE_IMPORT_LIBRARY_SUFFIX. So perhaps this suffix shouldn’t be added to LinkShared at all, but rather to LinkStatic?