summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-03-28 15:14:25 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-03-28 15:14:25 (GMT)
commit4fbf360a267a7f6725ae93d1ef4bb94bb1d4916d (patch)
tree061ff5a914aee52908e59749a0aceaf0ded27673 /Source/cmLocalGenerator.cxx
parenteeb7637a6ee23feb8147581c7d28021a55154a42 (diff)
downloadCMake-4fbf360a267a7f6725ae93d1ef4bb94bb1d4916d.zip
CMake-4fbf360a267a7f6725ae93d1ef4bb94bb1d4916d.tar.gz
CMake-4fbf360a267a7f6725ae93d1ef4bb94bb1d4916d.tar.bz2
BUG: Support paths with spaces
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 bac89cc..b5638d5 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -134,7 +134,7 @@ void cmLocalGenerator::GenerateInstallRules()
const char* postinstall = l->second.GetProperty("POST_INSTALL_SCRIPT");
if ( preinstall )
{
- fout << "INCLUDE(" << preinstall << ")" << std::endl;
+ fout << "INCLUDE(\"" << preinstall << "\")" << std::endl;
}
std::string fname;
@@ -235,7 +235,7 @@ void cmLocalGenerator::GenerateInstallRules()
}
if ( postinstall )
{
- fout << "INCLUDE(" << postinstall << ")" << std::endl;
+ fout << "INCLUDE(\"" << postinstall << "\")" << std::endl;
}
}
}