ENH: undo bad checkin
This commit is contained in:
parent
bc15811d2a
commit
adc880d2eb
@ -372,18 +372,9 @@ void cmFindCommon::AddCMakePath(const char* variable)
|
|||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void cmFindCommon::AddEnvPath(const char* variable)
|
void cmFindCommon::AddEnvPath(const char* variable)
|
||||||
{
|
{
|
||||||
if(variable)
|
|
||||||
{
|
|
||||||
std::cerr << variable << "\n";
|
|
||||||
}
|
|
||||||
// Get a path from the environment.
|
// Get a path from the environment.
|
||||||
std::vector<std::string> tmp;
|
std::vector<std::string> tmp;
|
||||||
cmSystemTools::GetPath(tmp, variable);
|
cmSystemTools::GetPath(tmp, variable);
|
||||||
for(std::vector<std::string>::iterator i = tmp.begin();
|
|
||||||
i != tmp.end(); ++i)
|
|
||||||
{
|
|
||||||
std::cerr << i->c_str() << "\n";
|
|
||||||
}
|
|
||||||
// Relative paths are interpreted with respect to the current
|
// Relative paths are interpreted with respect to the current
|
||||||
// working directory.
|
// working directory.
|
||||||
this->AddPathsInternal(tmp, EnvPath);
|
this->AddPathsInternal(tmp, EnvPath);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user