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
This commit is contained in:
Alexander Neundorf 2007-08-20 16:59:06 -04:00
parent b867a85213
commit 7db8c86ac9
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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";
}
//----------------------------------------------------------------------------

View File

@ -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";
}
//----------------------------------------------------------------------------