mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmMakefile: Rename GetCurrent{,Source}Directory.
Match the names used in cmake code.
This commit is contained in:
@@ -63,7 +63,7 @@ void cmInstallProgramsCommand::FinalPass()
|
||||
else // reg exp list
|
||||
{
|
||||
std::vector<std::string> programs;
|
||||
cmSystemTools::Glob(this->Makefile->GetCurrentDirectory(),
|
||||
cmSystemTools::Glob(this->Makefile->GetCurrentSourceDirectory(),
|
||||
this->FinalArgs[0], programs);
|
||||
|
||||
std::vector<std::string>::iterator s = programs.begin();
|
||||
@@ -118,7 +118,7 @@ std::string cmInstallProgramsCommand
|
||||
std::string tb = this->Makefile->GetCurrentOutputDirectory();
|
||||
tb += "/";
|
||||
tb += name;
|
||||
std::string ts = this->Makefile->GetCurrentDirectory();
|
||||
std::string ts = this->Makefile->GetCurrentSourceDirectory();
|
||||
ts += "/";
|
||||
ts += name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user