mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
cmMakefile: return directories as const std::string&
This commit is contained in:
committed by
Brad King
parent
0897c3cf58
commit
c8fd23ec6f
@@ -320,7 +320,7 @@ bool cmAddCustomCommandCommand::InitialPass(
|
||||
|
||||
// Convert working directory to a full path.
|
||||
if (!working.empty()) {
|
||||
const char* build_dir = this->Makefile->GetCurrentBinaryDirectory();
|
||||
const std::string& build_dir = this->Makefile->GetCurrentBinaryDirectory();
|
||||
working = cmSystemTools::CollapseFullPath(working, build_dir);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user