diff options
author | Ken Martin <ken.martin@kitware.com> | 2008-03-07 16:43:47 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2008-03-07 16:43:47 (GMT) |
commit | 55eede4b131e39cc341832cd99d3b339f040af75 (patch) | |
tree | 7a36fdcf05163e4a35e2c0ecc3b91d017afe7236 /Source/cmCacheManager.h | |
parent | 497779d4b3be8ac387690bc95fdadab122fa5a3c (diff) | |
download | CMake-55eede4b131e39cc341832cd99d3b339f040af75.zip CMake-55eede4b131e39cc341832cd99d3b339f040af75.tar.gz CMake-55eede4b131e39cc341832cd99d3b339f040af75.tar.bz2 |
ENH: clean up some policy stuff and interactions with CMAKE_BACKWARDS_COMPATIBILITY and CMAKE_MINIMUM_REQUIRED
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r-- | Source/cmCacheManager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h index 50cc873..f1e2298 100644 --- a/Source/cmCacheManager.h +++ b/Source/cmCacheManager.h @@ -66,6 +66,7 @@ public: bool GetValueAsBool() const; void SetValue(const char*); CacheEntryType GetType() const { return this->GetEntry().Type; } + void SetType(CacheEntryType ty) { this->GetEntry().Type = ty; } bool Initialized() { return this->GetEntry().Initialized; } cmCacheManager &Container; std::map<cmStdString, CacheEntry>::iterator Position; |