diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-03 09:10:30 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-03 09:42:00 (GMT) |
commit | a0836ed97804952ace98d2c1d0d46e968a532a3c (patch) | |
tree | 11c3a118fb30c8cf6eb41eca2898251197edadeb /Source/cmInstallTargetsCommand.cxx | |
parent | cbf143bb76604f576275d96a1e1e4c701680ff29 (diff) | |
download | CMake-a0836ed97804952ace98d2c1d0d46e968a532a3c.zip CMake-a0836ed97804952ace98d2c1d0d46e968a532a3c.tar.gz CMake-a0836ed97804952ace98d2c1d0d46e968a532a3c.tar.bz2 |
Port to cmMakefile::GetGlobalGenerator.
Diffstat (limited to 'Source/cmInstallTargetsCommand.cxx')
-rw-r--r-- | Source/cmInstallTargetsCommand.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmInstallTargetsCommand.cxx b/Source/cmInstallTargetsCommand.cxx index b738844..7e7b848 100644 --- a/Source/cmInstallTargetsCommand.cxx +++ b/Source/cmInstallTargetsCommand.cxx @@ -22,8 +22,7 @@ bool cmInstallTargetsCommand } // Enable the install target. - this->Makefile->GetLocalGenerator() - ->GetGlobalGenerator()->EnableInstallTarget(); + this->Makefile->GetGlobalGenerator()->EnableInstallTarget(); cmTargets &tgts = this->Makefile->GetTargets(); std::vector<std::string>::const_iterator s = args.begin(); @@ -57,7 +56,7 @@ bool cmInstallTargetsCommand } } - this->Makefile->GetLocalGenerator()->GetGlobalGenerator() + this->Makefile->GetGlobalGenerator() ->AddInstallComponent(this->Makefile->GetSafeDefinition( "CMAKE_INSTALL_DEFAULT_COMPONENT_NAME")); |