summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-20 15:12:08 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-20 15:12:08 (GMT)
commit4e8802058168962a2e89cac5abc3278e506aa53c (patch)
treedc6017070e2fa367825d4b0661578b586efc2176
parenta870d08670583d75492dce16f14ac6ffd994c448 (diff)
downloadCMake-4e8802058168962a2e89cac5abc3278e506aa53c.zip
CMake-4e8802058168962a2e89cac5abc3278e506aa53c.tar.gz
CMake-4e8802058168962a2e89cac5abc3278e506aa53c.tar.bz2
ENH: Support cmake in directory with space
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 7ea04a5..1522f26 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";