ENH: Support cmake in directory with space

This commit is contained in:
Andy Cedilnik 2003-03-20 10:12:08 -05:00
parent a870d08670
commit 4e88020581
1 changed files with 1 additions and 1 deletions

View File

@ -2039,7 +2039,7 @@ void cmLocalUnixMakefileGenerator::OutputInstallRules(std::ostream& fout)
{ {
const char* root const char* root
= m_Makefile->GetDefinition("CMAKE_ROOT"); = m_Makefile->GetDefinition("CMAKE_ROOT");
fout << "INSTALL = " << root << "/Templates/install-sh -c\n"; fout << "INSTALL = \"" << root << "/Templates/install-sh\" -c\n";
fout << "INSTALL_PROGRAM = $(INSTALL)\n"; fout << "INSTALL_PROGRAM = $(INSTALL)\n";
fout << "INSTALL_DATA = $(INSTALL) -m 644\n"; fout << "INSTALL_DATA = $(INSTALL) -m 644\n";