summaryrefslogtreecommitdiffstats
path: root/Source/cmFindCommon.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-10-02 13:18:47 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-10-02 13:18:47 (GMT)
commit71fee8522efe9eccf1abd3b84239732d4125d442 (patch)
treee9b3563ceae013343f541230e4421ac9efb9eaff /Source/cmFindCommon.cxx
parentefd096118f02d6777dc92560b5a1f01ce5aed138 (diff)
downloadCMake-71fee8522efe9eccf1abd3b84239732d4125d442.zip
CMake-71fee8522efe9eccf1abd3b84239732d4125d442.tar.gz
CMake-71fee8522efe9eccf1abd3b84239732d4125d442.tar.bz2
STYLE: fix line length issues
Diffstat (limited to 'Source/cmFindCommon.cxx')
-rw-r--r--Source/cmFindCommon.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmFindCommon.cxx b/Source/cmFindCommon.cxx
index 45ee91a..2f7a515 100644
--- a/Source/cmFindCommon.cxx
+++ b/Source/cmFindCommon.cxx
@@ -372,10 +372,18 @@ void cmFindCommon::AddCMakePath(const char* variable)
//----------------------------------------------------------------------------
void cmFindCommon::AddEnvPath(const char* variable)
{
+ if(variable)
+ {
+ std::cerr << variable << "\n";
+ }
// Get a path from the environment.
std::vector<std::string> tmp;
cmSystemTools::GetPath(tmp, variable);
-
+ for(std::vector<std::string>::iterator i = tmp.begin();
+ i != tmp.end(); ++i)
+ {
+ std::cerr << i->c_str() << "\n";
+ }
// Relative paths are interpreted with respect to the current
// working directory.
this->AddPathsInternal(tmp, EnvPath);