Skip to content
Snippets Groups Projects
Commit 79c23436 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

BUG: fix for vtk build

parent ef96274a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment