BUG: make sure install works with spaces in the path

This commit is contained in:
Bill Hoffman 2004-05-06 16:06:18 -04:00
parent db4fd2a15d
commit cc2ab62f1c
1 changed files with 2 additions and 2 deletions

View File

@ -258,8 +258,8 @@ void cmLocalGenerator::GenerateInstallRules()
std::string odir = mf->GetCurrentOutputDirectory();
odir += "/" + (*i).first;
cmSystemTools::ConvertToUnixSlashes(odir);
fout << "INCLUDE(" << odir.c_str()
<< "/cmake_install.cmake)" << std::endl;
fout << "INCLUDE(\"" << odir.c_str()
<< "/cmake_install.cmake\")" << std::endl;
}
fout << std::endl;;
}