summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-05-10 19:46:45 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-05-10 19:46:45 (GMT)
commit2af47105250a8a502eb5a3cbe18e1d77d11ec590 (patch)
tree0c47964082eeb7975bc6e8769d092103bb29f8a7 /Source/cmFindPackageCommand.cxx
parentafbc5743566b31f5270fa0ebabc395ad851e5359 (diff)
downloadCMake-2af47105250a8a502eb5a3cbe18e1d77d11ec590.zip
CMake-2af47105250a8a502eb5a3cbe18e1d77d11ec590.tar.gz
CMake-2af47105250a8a502eb5a3cbe18e1d77d11ec590.tar.bz2
STYLE: fix line length
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r--Source/cmFindPackageCommand.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index ef2777f..00a4c3d 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -202,10 +202,12 @@ bool cmFindPackageCommand::InitialPass(std::vector<std::string> const& args)
{
// Listfiles will be looking for the capitalized version of the
// name. Provide it.
- this->Makefile->AddDefinition(upperDir.c_str(),
- this->Makefile->GetDefinition(this->Variable.c_str()));
- this->Makefile->AddDefinition(upperFound.c_str(),
- this->Makefile->GetDefinition(foundVar.c_str()));
+ this->Makefile->AddDefinition
+ (upperDir.c_str(),
+ this->Makefile->GetDefinition(this->Variable.c_str()));
+ this->Makefile->AddDefinition
+ (upperFound.c_str(),
+ this->Makefile->GetDefinition(foundVar.c_str()));
}
#ifdef CMAKE_BUILD_WITH_CMAKE
@@ -297,8 +299,8 @@ bool cmFindPackageCommand::FindConfig()
for(int i=1; i <= 10; ++i)
{
cmOStringStream r;
- r << "[HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild"
- << i << "]";
+ r << "[HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\"
+ "Settings\\StartPath;WhereBuild" << i << "]";
std::string entry = r.str();
cmSystemTools::ExpandRegistryValues(entry);
cmSystemTools::ConvertToUnixSlashes(entry);