Skip to content

CPack: Fix symbolic link detection for directories

Olivier Iffrig requested to merge oiffrig/cmake:cpack-source-dir-symlink into master

In the case where the current path is a symlink to a directory, a trailing slash causes the link to be dereferenced, which means that any subsequent FileIsSymlink on it will return false.

Fixes: #21886 (closed)

Edited by Brad King

Merge request reports