ENH: handle single path

This commit is contained in:
Bill Hoffman 2006-04-10 13:47:19 -04:00
parent 51f91db648
commit 6c13d60ec6
1 changed files with 4 additions and 1 deletions

View File

@ -1000,6 +1000,10 @@ bool cmFileCommand::HandleCMakePathCommand(std::vector<std::string>
for(std::vector<cmsys::String>::iterator j = path.begin();
j != path.end(); ++j)
{
if(j != path.begin())
{
value += ";";
}
if(!nativePath)
{
cmSystemTools::ConvertToUnixSlashes(*j);
@ -1016,7 +1020,6 @@ bool cmFileCommand::HandleCMakePathCommand(std::vector<std::string>
}
}
value += *j;
value += ";";
}
this->Makefile->AddDefinition(var, value.c_str());
return true;