diff options
author | Brad King <brad.king@kitware.com> | 2015-02-11 16:48:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-11 20:14:01 (GMT) |
commit | 7607c3d16aa0636458c909f4036e4b0d91581b30 (patch) | |
tree | d5701c5955ea15ce600ffb66925196e6b7f7f000 /Source/cmInstallTargetGenerator.cxx | |
parent | ebd556caa9e1fc92e00c8e401b145c531390e854 (diff) | |
download | CMake-7607c3d16aa0636458c909f4036e4b0d91581b30.zip CMake-7607c3d16aa0636458c909f4036e4b0d91581b30.tar.gz CMake-7607c3d16aa0636458c909f4036e4b0d91581b30.tar.bz2 |
cmInstallGenerator: Pass destination explicitly to AddInstallRule
This will allow specific invocations to transform the destination
before AddInstallRule uses it.
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r-- | Source/cmInstallTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx index a22b123..7ab88f1 100644 --- a/Source/cmInstallTargetGenerator.cxx +++ b/Source/cmInstallTargetGenerator.cxx @@ -323,8 +323,8 @@ void cmInstallTargetGenerator::GenerateScriptForConfig(std::ostream& os, const char* no_dir_permissions = 0; const char* no_rename = 0; bool optional = this->Optional || this->ImportLibrary; - this->AddInstallRule(os, type, filesFrom, - optional, + this->AddInstallRule(os, this->Destination, + type, filesFrom, optional, this->FilePermissions.c_str(), no_dir_permissions, no_rename, literal_args.c_str(), indent); |