Browse Source

STYLE: add some newlines to cmake_install.cmake, so it's easier to read


			
			
				pull/1/head
			
			
		
Alexander Neundorf 18 years ago
parent
commit
7db8c86ac9
  1. 2
      Source/cmFindLibraryCommand.cxx
  2. 2
      Source/cmInstallGenerator.cxx
  3. 2
      Source/cmInstallTargetGenerator.cxx

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

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

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

Loading…
Cancel
Save