summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-01-26 21:29:36 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-01-26 21:29:36 (GMT)
commit6eed8b55dd80ffa4222784d2220ddf1955ade3b0 (patch)
tree93e9f9d80fdb0ebe2c4a2e58f14288b1c1d72121 /Source/cmLocalGenerator.cxx
parent5c8c6fa3da9f0e80fad858a4e7c10846a46cce38 (diff)
downloadCMake-6eed8b55dd80ffa4222784d2220ddf1955ade3b0.zip
CMake-6eed8b55dd80ffa4222784d2220ddf1955ade3b0.tar.gz
CMake-6eed8b55dd80ffa4222784d2220ddf1955ade3b0.tar.bz2
BUG: Fix for spaces in path
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index d0f92db..0a19def 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -231,8 +231,8 @@ void cmLocalGenerator::AddInstallRule(std::ostream& fout, const char* dest, int
}
fout
<< "MESSAGE(STATUS \"Install " << stype << ": " << sfiles.c_str() << "\")\n"
- << "FILE(INSTALL DESTINATION " << destination.c_str()
- << " TYPE " << stype.c_str() << " FILES " << sfiles.c_str() << ")\n";
+ << "FILE(INSTALL DESTINATION \"" << destination.c_str()
+ << "\" TYPE " << stype.c_str() << " FILES \"" << sfiles.c_str() << "\")\n";
}
const char* cmLocalGenerator::GetSafeDefinition(const char* def)