ENH: also remove uninitialized from the cache
Alex
This commit is contained in:
parent
ae035f7c90
commit
18cc1228bb
@ -335,7 +335,7 @@ bool cmake::SetCacheArgs(const std::vector<std::string>& args)
|
||||
for ( it.Begin(); !it.IsAtEnd(); it.Next() )
|
||||
{
|
||||
cmCacheManager::CacheEntryType t = it.GetType();
|
||||
if(t != cmCacheManager::STATIC && t != cmCacheManager::UNINITIALIZED)
|
||||
if(t != cmCacheManager::STATIC)
|
||||
{
|
||||
std::string entryName = it.GetName();
|
||||
if (regex.find(entryName.c_str()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user