summaryrefslogtreecommitdiff
path: root/Source/cmInstallFilesGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-11 11:48:13 -0500
committerBrad King <brad.king@kitware.com>2015-02-11 15:14:01 -0500
commit7607c3d16aa0636458c909f4036e4b0d91581b30 (patch)
treed5701c5955ea15ce600ffb66925196e6b7f7f000 /Source/cmInstallFilesGenerator.cxx
parentebd556caa9e1fc92e00c8e401b145c531390e854 (diff)
downloadcmake-7607c3d16aa0636458c909f4036e4b0d91581b30.tar.gz
cmInstallGenerator: Pass destination explicitly to AddInstallRule
This will allow specific invocations to transform the destination before AddInstallRule uses it.
Diffstat (limited to 'Source/cmInstallFilesGenerator.cxx')
-rw-r--r--Source/cmInstallFilesGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmInstallFilesGenerator.cxx b/Source/cmInstallFilesGenerator.cxx
index 91b102a349..28c27c2951 100644
--- a/Source/cmInstallFilesGenerator.cxx
+++ b/Source/cmInstallFilesGenerator.cxx
@@ -57,6 +57,7 @@ void cmInstallFilesGenerator::AddFilesInstallRule(
// Write code to install the files.
const char* no_dir_permissions = 0;
this->AddInstallRule(os,
+ this->Destination,
(this->Programs
? cmInstallType_PROGRAMS
: cmInstallType_FILES),