BUG: When a non-cache variable is marked as advance do not use the cmMakefile implementation of AddCacheDefinition to avoid removing the makefile definition.
This commit is contained in:
parent
94672aa75a
commit
5239769f5c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue