summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-04-10 20:03:10 (GMT)
committerBrad King <brad.king@kitware.com>2007-04-10 20:03:10 (GMT)
commit5239769f5c2166b45373455dabdfb337c272cb0a (patch)
tree1f814d9bdaad251fe9c78d9ac47ad73aff66c7c1 /Source/cmCacheManager.h
parent94672aa75a5b46cfcc3b235fa684d046124b27a3 (diff)
downloadCMake-5239769f5c2166b45373455dabdfb337c272cb0a.zip
CMake-5239769f5c2166b45373455dabdfb337c272cb0a.tar.gz
CMake-5239769f5c2166b45373455dabdfb337c272cb0a.tar.bz2
BUG: When a non-cache variable is marked as advance do not use the cmMakefile implementation of AddCacheDefinition to avoid removing the makefile definition.
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r--Source/cmCacheManager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h
index f36193a..83178b6 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