[cmake-commits] alex committed cmFindPackageCommand.cxx 1.22 1.23

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Aug 8 13:05:29 EDT 2007


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

Modified Files:
	cmFindPackageCommand.cxx 
Log Message:

ENH: remove the watch for the upper case variable name, it breaks the
feature summary, which needs to check for both the upper case and original
case _FOUND variables

Alex


Index: cmFindPackageCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFindPackageCommand.cxx,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- cmFindPackageCommand.cxx	7 Aug 2007 19:41:57 -0000	1.22
+++ cmFindPackageCommand.cxx	8 Aug 2007 17:05:27 -0000	1.23
@@ -254,10 +254,6 @@
         upperDir.c_str(),
         cmFindPackageNeedBackwardsCompatibility
         );
-      this->Makefile->GetVariableWatch()->RemoveWatch(
-        upperFound.c_str(),
-        cmFindPackageNeedBackwardsCompatibility
-        );
       }
     else
       {
@@ -267,10 +263,6 @@
         upperDir.c_str(),
         cmFindPackageNeedBackwardsCompatibility
         );
-      this->Makefile->GetVariableWatch()->AddWatch(
-        upperFound.c_str(),
-        cmFindPackageNeedBackwardsCompatibility
-        );
       }
     }
 #endif



More information about the Cmake-commits mailing list