summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-11 16:48:13 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-11 20:14:01 (GMT)
commit7607c3d16aa0636458c909f4036e4b0d91581b30 (patch)
treed5701c5955ea15ce600ffb66925196e6b7f7f000 /Source/cmInstallGenerator.h
parentebd556caa9e1fc92e00c8e401b145c531390e854 (diff)
downloadCMake-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.h')
-rw-r--r--Source/cmInstallGenerator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmInstallGenerator.h b/Source/cmInstallGenerator.h
index 1e87bda..c4191e4 100644
--- a/Source/cmInstallGenerator.h
+++ b/Source/cmInstallGenerator.h
@@ -40,7 +40,9 @@ public:
virtual ~cmInstallGenerator();
void AddInstallRule(
- std::ostream& os, cmInstallType type,
+ std::ostream& os,
+ std::string const& dest,
+ cmInstallType type,
std::vector<std::string> const& files,
bool optional = false,
const char* permissions_file = 0,