This generator expression does not report the locations of .dll
files on imported targets with the UNKNWON
type, since their
IMPORTED_LOCATION
refers to the import library and not the DLL.
Fixes: #22845 (closed)
Issue: #22406
Backport: release