mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-24 17:18:37 -05:00
ENH: also remove uninitialized from the cache
Alex
This commit is contained in:
+1
-1
@@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user