[cmake-commits] king committed cmCacheManager.h 1.45 1.46

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Apr 10 16:03:12 EDT 2007


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

Modified Files:
	cmCacheManager.h 
Log Message:
BUG: When a non-cache variable is marked as advance do not use the cmMakefile implementation of AddCacheDefinition to avoid removing the makefile definition.


Index: cmCacheManager.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCacheManager.h,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- cmCacheManager.h	15 Mar 2006 16:01:59 -0000	1.45
+++ cmCacheManager.h	10 Apr 2007 20:03:10 -0000	1.46
@@ -19,6 +19,7 @@
 
 #include "cmStandardIncludes.h"
 class cmMakefile;
+class cmMarkAsAdvancedCommand;
 
 /** \class cmCacheManager
  * \brief Control class for cmake's cache
@@ -164,6 +165,7 @@
   friend class cmMakefile; // allow access to add cache values
   friend class cmake; // allow access to add cache values
   friend class cmakewizard; // allow access to add cache values
+  friend class cmMarkAsAdvancedCommand; // allow access to add cache values
 };
 
 #endif



More information about the Cmake-commits mailing list