mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
file(INSTALL): Report "Installing:" for a symlink to a directory
This commit is contained in:
@@ -647,7 +647,10 @@ bool cmFileCopier::InstallDirectory(const std::string& source,
|
||||
{
|
||||
// Inform the user about this directory installation.
|
||||
this->ReportCopy(destination, TypeDir,
|
||||
!cmSystemTools::FileIsDirectory(destination));
|
||||
!( // Report "Up-to-date:" for existing directories,
|
||||
// but not symlinks to them.
|
||||
cmSystemTools::FileIsDirectory(destination) &&
|
||||
!cmSystemTools::FileIsSymlink(destination)));
|
||||
|
||||
// check if default dir creation permissions were set
|
||||
mode_t default_dir_mode_v = 0;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
]*/Tests/RunCMake/install/DIRECTORY-symlink-clobber-build/root-all/dest/dir/file
|
||||
-- Installing: [^
|
||||
]*/Tests/RunCMake/install/DIRECTORY-symlink-clobber-build/root-all/dest/lnk
|
||||
-- Up-to-date: [^
|
||||
-- Installing: [^
|
||||
]*/Tests/RunCMake/install/DIRECTORY-symlink-clobber-build/root-all/dest/lnk
|
||||
-- Up-to-date: [^
|
||||
]*/Tests/RunCMake/install/DIRECTORY-symlink-clobber-build/root-all/dest/lnk/file
|
||||
|
||||
Reference in New Issue
Block a user