BUG: Fix for spaces in path

This commit is contained in:
Andy Cedilnik 2004-01-26 16:29:36 -05:00
parent 5c8c6fa3da
commit 6eed8b55dd
1 changed files with 2 additions and 2 deletions

View File

@ -231,8 +231,8 @@ void cmLocalGenerator::AddInstallRule(std::ostream& fout, const char* dest, int
}
fout
<< "MESSAGE(STATUS \"Install " << stype << ": " << sfiles.c_str() << "\")\n"
<< "FILE(INSTALL DESTINATION " << destination.c_str()
<< " TYPE " << stype.c_str() << " FILES " << sfiles.c_str() << ")\n";
<< "FILE(INSTALL DESTINATION \"" << destination.c_str()
<< "\" TYPE " << stype.c_str() << " FILES \"" << sfiles.c_str() << "\")\n";
}
const char* cmLocalGenerator::GetSafeDefinition(const char* def)