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:
parent
b867a85213
commit
7db8c86ac9
|
@ -108,11 +108,11 @@ void cmFindLibraryCommand::AddLib64Paths()
|
||||||
std::string voidsize =
|
std::string voidsize =
|
||||||
this->Makefile->GetRequiredDefinition("CMAKE_SIZEOF_VOID_P");
|
this->Makefile->GetRequiredDefinition("CMAKE_SIZEOF_VOID_P");
|
||||||
int size = atoi(voidsize.c_str());
|
int size = atoi(voidsize.c_str());
|
||||||
std::vector<std::string> path64;
|
|
||||||
if(size != 8)
|
if(size != 8)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
std::vector<std::string> path64;
|
||||||
bool found64 = false;
|
bool found64 = false;
|
||||||
for(std::vector<std::string>::iterator i = this->SearchPaths.begin();
|
for(std::vector<std::string>::iterator i = this->SearchPaths.begin();
|
||||||
i != this->SearchPaths.end(); ++i)
|
i != this->SearchPaths.end(); ++i)
|
||||||
|
|
|
@ -210,7 +210,7 @@ void cmInstallGenerator::GenerateScript(std::ostream& os)
|
||||||
this->GenerateScriptConfigs(os, indent.Next());
|
this->GenerateScriptConfigs(os, indent.Next());
|
||||||
|
|
||||||
// End this block of installation.
|
// End this block of installation.
|
||||||
os << indent << "ENDIF(" << component_test << ")\n";
|
os << indent << "ENDIF(" << component_test << ")\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
|
|
@ -97,7 +97,7 @@ void cmInstallTargetGenerator::GenerateScript(std::ostream& os)
|
||||||
}
|
}
|
||||||
|
|
||||||
// End this block of installation.
|
// End this block of installation.
|
||||||
os << indent << "ENDIF(" << component_test << ")\n";
|
os << indent << "ENDIF(" << component_test << ")\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue