Browse Source

ENH: Support cmake in directory with space

Andy Cedilnik 23 years ago
parent
commit
4e88020581
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmLocalUnixMakefileGenerator.cxx

+ 1 - 1
Source/cmLocalUnixMakefileGenerator.cxx

@@ -2039,7 +2039,7 @@ void cmLocalUnixMakefileGenerator::OutputInstallRules(std::ostream& fout)
 {
   const char* 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_DATA =    $(INSTALL) -m 644\n";