summaryrefslogtreecommitdiffstats
path: root/Source/cmUtilitySourceCommand.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-06 22:44:53 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-07 12:35:16 (GMT)
commit00ba28ffd03a9a0cf00d78001573bc5cc045ee72 (patch)
treebb8c241b1938470badd41ecf2499a48317b11e1d /Source/cmUtilitySourceCommand.cxx
parent0741eda2468e482baf1b5ff6a3a8d376143171e4 (diff)
downloadCMake-00ba28ffd03a9a0cf00d78001573bc5cc045ee72.zip
CMake-00ba28ffd03a9a0cf00d78001573bc5cc045ee72.tar.gz
CMake-00ba28ffd03a9a0cf00d78001573bc5cc045ee72.tar.bz2
cmMakefile::GetRequiredDefinition: return const std::string&
Diffstat (limited to 'Source/cmUtilitySourceCommand.cxx')
-rw-r--r--Source/cmUtilitySourceCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUtilitySourceCommand.cxx b/Source/cmUtilitySourceCommand.cxx
index 231bca4..b59a587 100644
--- a/Source/cmUtilitySourceCommand.cxx
+++ b/Source/cmUtilitySourceCommand.cxx
@@ -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;