1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

cmInstallTargetGenerator: Report namelink mode with list of files

This commit is contained in:
Brad King
2021-03-05 11:41:06 -05:00
parent ea430582f9
commit f73b6879e9
2 changed files with 2 additions and 0 deletions

View File

@@ -338,6 +338,7 @@ cmInstallTargetGenerator::Files cmInstallTargetGenerator::GetFiles(
// Add the names based on the current namelink mode.
if (haveNamelink) {
files.NamelinkMode = this->NamelinkMode;
// With a namelink we need to check the mode.
if (this->NamelinkMode == NamelinkModeOnly) {
// Install the namelink only.

View File

@@ -81,6 +81,7 @@ public:
// Prefix for all files in To.
std::string ToDir;
NamelinkModeType NamelinkMode = NamelinkModeNone;
bool NoTweak = false;
bool UseSourcePermissions = false;
cmInstallType Type = cmInstallType();