file(INSTALL): Clarify symlink vs dir conflict errors

Merged John Parent requested to merge john.parent/cmake:improve-symlink-error-reporting into master

Improve clarity of errors when installation collisions occur between directories and symlinks due to naming conflicts. Fixup bug where up to date check mistakes a symlink-to-directory for a directory.

Edited by Brad King

Merge request reports