summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallProgramsCommand.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/cmInstallProgramsCommand.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/cmInstallProgramsCommand.cxx')
-rw-r--r--Source/cmInstallProgramsCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallProgramsCommand.cxx b/Source/cmInstallProgramsCommand.cxx
index 3a0a322..9f2945f 100644
--- a/Source/cmInstallProgramsCommand.cxx
+++ b/Source/cmInstallProgramsCommand.cxx
@@ -94,7 +94,7 @@ void cmInstallProgramsCommand::FinalPass()
"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(), true,
no_permissions, no_configurations,
no_component.c_str(), no_rename));