Commit cc2ab62f authored by Bill Hoffman's avatar Bill Hoffman
Browse files

BUG: make sure install works with spaces in the path

parent db4fd2a1
......@@ -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;;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment