[cmake-commits] hoffman committed cmFindLibraryCommand.cxx 1.44 1.45 cmFindPathCommand.cxx 1.36 1.37

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Dec 14 20:46:17 EST 2007


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

Modified Files:
	cmFindLibraryCommand.cxx cmFindPathCommand.cxx 
Log Message:
BUG: fix for bug 6039 LIB and INCLUDE not used for find stuff


Index: cmFindPathCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFindPathCommand.cxx,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- cmFindPathCommand.cxx	26 Oct 2007 13:55:40 -0000	1.36
+++ cmFindPathCommand.cxx	15 Dec 2007 01:46:15 -0000	1.37
@@ -21,6 +21,7 @@
 
 cmFindPathCommand::cmFindPathCommand()
 {
+  this->EnvironmentPath = "INCLUDE";
   this->IncludeFileInPath = false;
   cmSystemTools::ReplaceString(this->GenericDocumentation,
                                "FIND_XXX", "find_path");

Index: cmFindLibraryCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFindLibraryCommand.cxx,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- cmFindLibraryCommand.cxx	26 Oct 2007 13:55:40 -0000	1.44
+++ cmFindLibraryCommand.cxx	15 Dec 2007 01:46:15 -0000	1.45
@@ -38,6 +38,7 @@
                                "CMAKE_FIND_ROOT_PATH_MODE_XXX", 
                                "CMAKE_FIND_ROOT_PATH_MODE_LIBRARY");
 
+  this->EnvironmentPath = "LIB";
   this->GenericDocumentation += 
     "\n"
     "If the library found is a framework, then VAR will be set to "



More information about the Cmake-commits mailing list