From 5239769f5c2166b45373455dabdfb337c272cb0a Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 10 Apr 2007 16:03:10 -0400 Subject: [PATCH] BUG: When a non-cache variable is marked as advance do not use the cmMakefile implementation of AddCacheDefinition to avoid removing the makefile definition. --- Source/cmCacheManager.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h index f36193a93..83178b6cd 100644 --- a/Source/cmCacheManager.h +++ b/Source/cmCacheManager.h @@ -19,6 +19,7 @@ #include "cmStandardIncludes.h" class cmMakefile; +class cmMarkAsAdvancedCommand; /** \class cmCacheManager * \brief Control class for cmake's cache @@ -164,6 +165,7 @@ private: 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