summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-20 20:59:06 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-20 20:59:06 (GMT)
commit7db8c86ac90e48aa4a36ba67dd2635646820b62f (patch)
tree5b65421fc8cefc6441e2c1f3dfe9c3b0f08af9cf
parentb867a85213afa0c22eaad21f3589465761d2bca3 (diff)
downloadCMake-7db8c86ac90e48aa4a36ba67dd2635646820b62f.zip
CMake-7db8c86ac90e48aa4a36ba67dd2635646820b62f.tar.gz
CMake-7db8c86ac90e48aa4a36ba67dd2635646820b62f.tar.bz2
STYLE: add some newlines to cmake_install.cmake, so it's easier to read
-move the array behind the if, it's unused before it Alex
-rw-r--r--Source/cmFindLibraryCommand.cxx2
-rw-r--r--Source/cmInstallGenerator.cxx2
-rw-r--r--Source/cmInstallTargetGenerator.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx
index 5fcf089..157eb3f 100644
--- a/Source/cmFindLibraryCommand.cxx
+++ b/Source/cmFindLibraryCommand.cxx
@@ -108,11 +108,11 @@ void cmFindLibraryCommand::AddLib64Paths()
std::string voidsize =
this->Makefile->GetRequiredDefinition("CMAKE_SIZEOF_VOID_P");
int size = atoi(voidsize.c_str());
- std::vector<std::string> path64;
if(size != 8)
{
return;
}
+ std::vector<std::string> path64;
bool found64 = false;
for(std::vector<std::string>::iterator i = this->SearchPaths.begin();
i != this->SearchPaths.end(); ++i)
diff --git a/Source/cmInstallGenerator.cxx b/Source/cmInstallGenerator.cxx
index bdb60cc..928b241 100644
--- a/Source/cmInstallGenerator.cxx
+++ b/Source/cmInstallGenerator.cxx
@@ -210,7 +210,7 @@ void cmInstallGenerator::GenerateScript(std::ostream& os)
this->GenerateScriptConfigs(os, indent.Next());
// End this block of installation.
- os << indent << "ENDIF(" << component_test << ")\n";
+ os << indent << "ENDIF(" << component_test << ")\n\n";
}
//----------------------------------------------------------------------------
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index f5be726..72dfa57 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -97,7 +97,7 @@ void cmInstallTargetGenerator::GenerateScript(std::ostream& os)
}
// End this block of installation.
- os << indent << "ENDIF(" << component_test << ")\n";
+ os << indent << "ENDIF(" << component_test << ")\n\n";
}
//----------------------------------------------------------------------------