Merge topic 'install-manifest-optimize'

c4814174 install: Write the entire installation manifest at once
This commit is contained in:
Brad King
2015-02-27 10:34:35 -05:00
committed by CMake Topic Stage
2 changed files with 10 additions and 12 deletions

View File

@@ -1903,7 +1903,10 @@ protected:
std::string Manifest;
void ManifestAppend(std::string const& file)
{
this->Manifest += ";";
if (!this->Manifest.empty())
{
this->Manifest += ";";
}
this->Manifest += file.substr(this->DestDirLength);
}