cmInstallExportGenerator: Require cmLocalGenerator, not cmMakefile.

This commit is contained in:
Stephen Kelly
2015-08-05 23:05:22 +02:00
parent c259b83026
commit 1f39ee5beb
4 changed files with 17 additions and 10 deletions

View File

@@ -1406,7 +1406,7 @@ bool cmInstallCommand::HandleExportMode(std::vector<std::string> const& args)
ica.GetDestination().c_str(),
ica.GetPermissions().c_str(), ica.GetConfigurations(),
ica.GetComponent().c_str(), message, fname.c_str(),
name_space.GetCString(), exportOld.IsEnabled(), this->Makefile);
name_space.GetCString(), exportOld.IsEnabled());
this->Makefile->AddInstallGenerator(exportGenerator);
return true;