cmMakefile::GetRequiredDefinition: return const std::string&

This commit is contained in:
Vitaly Stakhovsky
2019-02-06 17:44:53 -05:00
parent 0741eda246
commit 00ba28ffd0
16 changed files with 57 additions and 55 deletions

View File

@@ -79,7 +79,7 @@ bool cmUtilitySourceCommand::InitialPass(std::vector<std::string> const& args,
}
// The source exists.
std::string cmakeCFGout =
const std::string& cmakeCFGout =
this->Makefile->GetRequiredDefinition("CMAKE_CFG_INTDIR");
std::string utilityDirectory = this->Makefile->GetCurrentBinaryDirectory();
std::string exePath;