[Cmake-commits] [cmake-commits] hoffman committed cmFindBase.cxx 1.37 1.38

cmake-commits at cmake.org cmake-commits at cmake.org
Fri May 23 15:52:18 EDT 2008


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

Modified Files:
	cmFindBase.cxx 
Log Message:
ENH: better fix for not adding /


Index: cmFindBase.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFindBase.cxx,v
retrieving revision 1.37
retrieving revision 1.38
diff -C 2 -d -r1.37 -r1.38
*** cmFindBase.cxx	23 May 2008 19:25:04 -0000	1.37
--- cmFindBase.cxx	23 May 2008 19:52:15 -0000	1.38
***************
*** 379,389 ****
        dir += "/";
        }
!     if(subdir != "/")
        {
!       std::string add = dir + subdir;
!       if(add != "/")
!         {
!         dest.push_back(add);
!         }
        }
      if (subdir == "bin")
--- 379,386 ----
        dir += "/";
        }
!     std::string add = dir + subdir;
!     if(add != "/")
        {
!       dest.push_back(add);
        }
      if (subdir == "bin")



More information about the Cmake-commits mailing list