diff options
author | Brad King <brad.king@kitware.com> | 2015-02-11 11:48:13 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-11 15:14:01 -0500 |
commit | 7607c3d16aa0636458c909f4036e4b0d91581b30 (patch) | |
tree | d5701c5955ea15ce600ffb66925196e6b7f7f000 /Source/cmInstallFilesGenerator.cxx | |
parent | ebd556caa9e1fc92e00c8e401b145c531390e854 (diff) | |
download | cmake-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.cxx | 1 |
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), |