mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 14:19:59 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user