target_link_libraries: Allow linking to UNKNOWN IMPORTED GLOBAL libs
This combination was accidentally rejected. Allow it and add a test.
Fixes: #17245 (closed)
This combination was accidentally rejected. Allow it and add a test.
Fixes: #17245 (closed)