BUG: make sure install works with spaces in the path
This commit is contained in:
parent
db4fd2a15d
commit
cc2ab62f1c
|
@ -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;;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue