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 = ".";
|
||||
}
|
||||
cmSystemTools::ReplaceString(ret, m_HomeOutputDirectoryNoSlash.c_str(),
|
||||
relpath.c_str());
|
||||
if(ret == m_HomeOutputDirectoryNoSlash)
|
||||
{
|
||||
ret = relpath;
|
||||
}
|
||||
ret = cmSystemTools::ConvertToOutputPath(ret.c_str());
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue