diff options
author | Brad King <brad.king@kitware.com> | 2021-03-05 16:41:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-03-16 15:06:46 (GMT) |
commit | f73b6879e9f93157bc3bec26ee319cf67e6b026a (patch) | |
tree | 316572da4b197758c1619a35cdd83572656c0398 | |
parent | ea430582f96a085e1b4d7c5125d5ca8a2266e48b (diff) | |
download | CMake-f73b6879e9f93157bc3bec26ee319cf67e6b026a.zip CMake-f73b6879e9f93157bc3bec26ee319cf67e6b026a.tar.gz CMake-f73b6879e9f93157bc3bec26ee319cf67e6b026a.tar.bz2 |
cmInstallTargetGenerator: Report namelink mode with list of files
-rw-r--r-- | Source/cmInstallTargetGenerator.cxx | 1 | ||||
-rw-r--r-- | Source/cmInstallTargetGenerator.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx index bef785d..eb214fa 100644 --- a/Source/cmInstallTargetGenerator.cxx +++ b/Source/cmInstallTargetGenerator.cxx @@ -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. diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h index b94c2a6..84fce42 100644 --- a/Source/cmInstallTargetGenerator.h +++ b/Source/cmInstallTargetGenerator.h @@ -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(); |