summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallFilesCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-21 21:45:26 (GMT)
committerBrad King <brad.king@kitware.com>2014-02-21 22:05:26 (GMT)
commitf11f7b34a8e77c3bd68578f00b57e0884cb0d872 (patch)
treea109e5873b03c632fd950e64de8fee59e32a0ad5 /Source/cmInstallFilesCommand.cxx
parente190236c7424fec478b083488eeed88717ed123a (diff)
downloadCMake-f11f7b34a8e77c3bd68578f00b57e0884cb0d872.zip
CMake-f11f7b34a8e77c3bd68578f00b57e0884cb0d872.tar.gz
CMake-f11f7b34a8e77c3bd68578f00b57e0884cb0d872.tar.bz2
cmInstallFilesGenerator: Add reference to calling cmMakefile
Add a Makefile member to the cmInstallFilesGenerator class and populate it on construction. This will be useful in a following change to evaluate generator expressions with proper context.
Diffstat (limited to 'Source/cmInstallFilesCommand.cxx')
-rw-r--r--Source/cmInstallFilesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallFilesCommand.cxx b/Source/cmInstallFilesCommand.cxx
index cc62c4b..32e463b 100644
--- a/Source/cmInstallFilesCommand.cxx
+++ b/Source/cmInstallFilesCommand.cxx
@@ -133,7 +133,7 @@ void cmInstallFilesCommand::CreateInstallGenerator() const
"CMAKE_INSTALL_DEFAULT_COMPONENT_NAME");
std::vector<std::string> no_configurations;
this->Makefile->AddInstallGenerator(
- new cmInstallFilesGenerator(this->Files,
+ new cmInstallFilesGenerator(this->Makefile, this->Files,
destination.c_str(), false,
no_permissions, no_configurations,
no_component.c_str(), no_rename));