From 7db8c86ac90e48aa4a36ba67dd2635646820b62f Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Mon, 20 Aug 2007 16:59:06 -0400 Subject: 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 --- Source/cmFindLibraryCommand.cxx | 2 +- Source/cmInstallGenerator.cxx | 2 +- Source/cmInstallTargetGenerator.cxx | 2 +- 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 path64; if(size != 8) { return; } + std::vector path64; bool found64 = false; for(std::vector::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"; } //---------------------------------------------------------------------------- -- cgit v0.12