summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-05-06 20:06:18 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-05-06 20:06:18 (GMT)
commitcc2ab62f1c6fb7161e0185ff36f08edda8baec12 (patch)
treede47c4a0d8c0a86842d7e5184139853e9e5b7ae8
parentdb4fd2a15d8df861f845b899819b4cce0180e52e (diff)
downloadCMake-cc2ab62f1c6fb7161e0185ff36f08edda8baec12.zip
CMake-cc2ab62f1c6fb7161e0185ff36f08edda8baec12.tar.gz
CMake-cc2ab62f1c6fb7161e0185ff36f08edda8baec12.tar.bz2
BUG: make sure install works with spaces in the path
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index af92543..e8435bf 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -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;;
}