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/cmInstallGenerator.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/cmInstallGenerator.cxx')
-rw-r--r-- | Source/cmInstallGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallGenerator.cxx b/Source/cmInstallGenerator.cxx index 3ae8975..2e1c5f0 100644 --- a/Source/cmInstallGenerator.cxx +++ b/Source/cmInstallGenerator.cxx @@ -37,6 +37,7 @@ cmInstallGenerator void cmInstallGenerator ::AddInstallRule( std::ostream& os, + std::string const& dest, cmInstallType type, std::vector<std::string> const& files, bool optional /* = false */, @@ -60,7 +61,6 @@ void cmInstallGenerator case cmInstallType_FILES: stype = "FILE"; break; } os << indent; - std::string const& dest = this->Destination; if (cmSystemTools::FileIsFullPath(dest.c_str())) { os << "list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES\n"; |