Port to cmMakefile::GetGlobalGenerator.

This commit is contained in:
Stephen Kelly
2015-05-03 11:10:30 +02:00
parent cbf143bb76
commit a0836ed978
25 changed files with 86 additions and 122 deletions
+2 -3
View File
@@ -24,8 +24,7 @@ bool cmInstallFilesCommand
}
// Enable the install target.
this->Makefile->GetLocalGenerator()
->GetGlobalGenerator()->EnableInstallTarget();
this->Makefile->GetGlobalGenerator()->EnableInstallTarget();
this->Destination = args[0];
@@ -48,7 +47,7 @@ bool cmInstallFilesCommand
args.begin() + 1, args.end());
}
this->Makefile->GetLocalGenerator()->GetGlobalGenerator()
this->Makefile->GetGlobalGenerator()
->AddInstallComponent(this->Makefile->GetSafeDefinition(
"CMAKE_INSTALL_DEFAULT_COMPONENT_NAME"));