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();
|
std::string odir = mf->GetCurrentOutputDirectory();
|
||||||
odir += "/" + (*i).first;
|
odir += "/" + (*i).first;
|
||||||
cmSystemTools::ConvertToUnixSlashes(odir);
|
cmSystemTools::ConvertToUnixSlashes(odir);
|
||||||
fout << "INCLUDE(" << odir.c_str()
|
fout << "INCLUDE(\"" << odir.c_str()
|
||||||
<< "/cmake_install.cmake)" << std::endl;
|
<< "/cmake_install.cmake\")" << std::endl;
|
||||||
}
|
}
|
||||||
fout << std::endl;;
|
fout << std::endl;;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user