[cmake-commits] king committed cmFindPackageCommand.cxx 1.25 1.26

cmake-commits at cmake.org cmake-commits at cmake.org
Sat Dec 15 14:16:47 EST 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv12151/Source

Modified Files:
	cmFindPackageCommand.cxx 
Log Message:
STYLE: Removed trailing whitespace.


Index: cmFindPackageCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFindPackageCommand.cxx,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- cmFindPackageCommand.cxx	21 Sep 2007 15:42:40 -0000	1.25
+++ cmFindPackageCommand.cxx	15 Dec 2007 19:16:45 -0000	1.26
@@ -194,7 +194,7 @@
       f = "/" + f;
       f = this->Makefile->GetCurrentDirectory() + f;
       }
-    
+
     if(cmSystemTools::FileExists(f.c_str()))
       {
       if(this->ReadListFile(f.c_str()))
@@ -222,11 +222,11 @@
   else if(!quiet || required)
     {
     cmOStringStream e;
-    e << "FIND_PACKAGE could not find Find" << this->Name 
+    e << "FIND_PACKAGE could not find Find" << this->Name
       << ".cmake nor config file " << this->Config << ".\n"
-      << "Adjust CMAKE_MODULE_PATH to find Find" << this->Name 
-      << ".cmake or set " << this->Variable 
-      << "\nto the directory containing " << this->Config 
+      << "Adjust CMAKE_MODULE_PATH to find Find" << this->Name
+      << ".cmake or set " << this->Variable
+      << "\nto the directory containing " << this->Config
       << " in order to use " << this->Name << ".";
     cmSystemTools::Error(e.str().c_str());
     if(required)
@@ -446,17 +446,17 @@
 void cmFindPackageCommand::AppendToProperty(const char* propertyName)
 {
   std::string propertyValue;
-  const char *prop = 
+  const char *prop =
       this->Makefile->GetCMakeInstance()->GetProperty(propertyName);
   if (prop && *prop)
     {
     propertyValue = prop;
-    
+
     std::vector<std::string> contents;
     cmSystemTools::ExpandListArgument(propertyValue, contents, false);
-    
+
     bool alreadyInserted = false;
-    for(std::vector<std::string>::const_iterator it = contents.begin(); 
+    for(std::vector<std::string>::const_iterator it = contents.begin();
       it != contents.end(); ++ it )
       {
       if (*it == this->Name)
@@ -475,7 +475,7 @@
     {
     propertyValue = this->Name;
     }
-  this->Makefile->GetCMakeInstance()->SetProperty(propertyName, 
+  this->Makefile->GetCMakeInstance()->SetProperty(propertyName,
                                                   propertyValue.c_str());
  }
 



More information about the Cmake-commits mailing list