ENH: also remove uninitialized from the cache

Alex
This commit is contained in:
Alexander Neundorf 2007-06-07 10:41:52 -04:00
parent ae035f7c90
commit 18cc1228bb
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ bool cmake::SetCacheArgs(const std::vector<std::string>& args)
for ( it.Begin(); !it.IsAtEnd(); it.Next() ) for ( it.Begin(); !it.IsAtEnd(); it.Next() )
{ {
cmCacheManager::CacheEntryType t = it.GetType(); cmCacheManager::CacheEntryType t = it.GetType();
if(t != cmCacheManager::STATIC && t != cmCacheManager::UNINITIALIZED) if(t != cmCacheManager::STATIC)
{ {
std::string entryName = it.GetName(); std::string entryName = it.GetName();
if (regex.find(entryName.c_str())) if (regex.find(entryName.c_str()))