summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-10-02 13:18:47 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-10-02 13:18:47 (GMT)
commit71fee8522efe9eccf1abd3b84239732d4125d442 (patch)
treee9b3563ceae013343f541230e4421ac9efb9eaff /Source/CPack/cmCPackGenerator.cxx
parentefd096118f02d6777dc92560b5a1f01ce5aed138 (diff)
downloadCMake-71fee8522efe9eccf1abd3b84239732d4125d442.zip
CMake-71fee8522efe9eccf1abd3b84239732d4125d442.tar.gz
CMake-71fee8522efe9eccf1abd3b84239732d4125d442.tar.bz2
STYLE: fix line length issues
Diffstat (limited to 'Source/CPack/cmCPackGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackGenerator.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx
index ab2ae32..479db4f 100644
--- a/Source/CPack/cmCPackGenerator.cxx
+++ b/Source/CPack/cmCPackGenerator.cxx
@@ -642,10 +642,10 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
if ( setDestDir )
{
- // For DESTDIR based packaging, use the *project* CMAKE_INSTALL_PREFIX
- // underneath the tempInstallDirectory. The value of the project's
- // CMAKE_INSTALL_PREFIX is sent in here as the value of the
- // CPACK_INSTALL_PREFIX variable.
+ // For DESTDIR based packaging, use the *project*
+ // CMAKE_INSTALL_PREFIX underneath the tempInstallDirectory. The
+ // value of the project's CMAKE_INSTALL_PREFIX is sent in here as
+ // the value of the CPACK_INSTALL_PREFIX variable.
std::string dir;
if (this->GetOption("CPACK_INSTALL_PREFIX"))
{
@@ -671,9 +671,11 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
}
else
{
- mf->AddDefinition("CMAKE_INSTALL_PREFIX", tempInstallDirectory.c_str());
+ mf->AddDefinition("CMAKE_INSTALL_PREFIX",
+ tempInstallDirectory.c_str());
- if ( !cmsys::SystemTools::MakeDirectory(tempInstallDirectory.c_str()))
+ if ( !cmsys::SystemTools::MakeDirectory(
+ tempInstallDirectory.c_str()))
{
cmCPackLogger(cmCPackLog::LOG_ERROR,
"Problem creating temporary directory: "