From 4e8802058168962a2e89cac5abc3278e506aa53c Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 20 Mar 2003 10:12:08 -0500 Subject: [PATCH] ENH: Support cmake in directory with space --- Source/cmLocalUnixMakefileGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index 7ea04a5ae..1522f2698 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/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";