summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5fcf08999c..157eb3fd2e 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 bdb60cca2e..928b241c33 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 f5be726f1a..72dfa5767c 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";
}
//----------------------------------------------------------------------------