summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-04 17:48:11 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-04 17:48:11 (GMT)
commit003654670b55a98eddd3c69de081eddb82383937 (patch)
tree17b05c4981a64d5cfb7d0b7b6f53c6017b0a5b5c /Source/cmCacheManager.cxx
parent8fdca686b3d4659328dafd5501dd25daef4e711a (diff)
downloadCMake-003654670b55a98eddd3c69de081eddb82383937.zip
CMake-003654670b55a98eddd3c69de081eddb82383937.tar.gz
CMake-003654670b55a98eddd3c69de081eddb82383937.tar.bz2
ENH: -U for removing variables now uses globbing expressions
-cmCacheManager: now also variables with type UNINITIALIZED are saved in CMakeCache.txt, these are the vars defined using -DFOO=foo but without type Alex
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index d6794aa..3967592 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -439,7 +439,7 @@ bool cmCacheManager::SaveCache(const char* path)
{
const CacheEntry& ce = (*i).second;
CacheEntryType t = ce.Type;
- if(t == cmCacheManager::UNINITIALIZED || !ce.Initialized)
+ if(!ce.Initialized)
{
/*
// This should be added in, but is not for now.