fileapi: codemodel target misses install in another directory
Since !2152 (merged) one can call install(TARGETS)
for targets in another directory. However, the fileapi code to dump install destinations only looks for install rules in the same directory where the target is defined.