BUG: fix for vtk build
This commit is contained in:
parent
ef96274a08
commit
79c23436d3
@ -121,8 +121,10 @@ std::string cmLocalGenerator::ConvertToRelativeOutputPath(const char* p)
|
|||||||
{
|
{
|
||||||
relpath = ".";
|
relpath = ".";
|
||||||
}
|
}
|
||||||
cmSystemTools::ReplaceString(ret, m_HomeOutputDirectoryNoSlash.c_str(),
|
if(ret == m_HomeOutputDirectoryNoSlash)
|
||||||
relpath.c_str());
|
{
|
||||||
|
ret = relpath;
|
||||||
|
}
|
||||||
ret = cmSystemTools::ConvertToOutputPath(ret.c_str());
|
ret = cmSystemTools::ConvertToOutputPath(ret.c_str());
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user