diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-06-04 17:48:11 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-06-04 17:48:11 (GMT) |
commit | 003654670b55a98eddd3c69de081eddb82383937 (patch) | |
tree | 17b05c4981a64d5cfb7d0b7b6f53c6017b0a5b5c /Source/cmCacheManager.cxx | |
parent | 8fdca686b3d4659328dafd5501dd25daef4e711a (diff) | |
download | CMake-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.cxx | 2 |
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. |