diff options
author | Brad King <brad.king@kitware.com> | 2002-11-08 23:05:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-11-08 23:05:42 (GMT) |
commit | c74ce9b21852bfd93d7d13ba70e11967b94a8300 (patch) | |
tree | 56e2d89e97f32c221cf84fb495663a6c078afb98 /Source | |
parent | 06b640fe48acd739fde767f75fb19b5353c69e4b (diff) | |
download | CMake-c74ce9b21852bfd93d7d13ba70e11967b94a8300.zip CMake-c74ce9b21852bfd93d7d13ba70e11967b94a8300.tar.gz CMake-c74ce9b21852bfd93d7d13ba70e11967b94a8300.tar.bz2 |
BUG: A variable is not in the cache if it is UNINITIALIZED.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmSetCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSetCommand.cxx b/Source/cmSetCommand.cxx index f9c0915..5bd9a2d 100644 --- a/Source/cmSetCommand.cxx +++ b/Source/cmSetCommand.cxx @@ -119,7 +119,7 @@ bool cmSetCommand::InitialPass(std::vector<std::string> const& args) // see if this is already in the cache cmCacheManager::CacheIterator it = m_Makefile->GetCacheManager()->GetCacheIterator(variable); - if(!it.IsAtEnd()) + if(!it.IsAtEnd() && (it.GetType() != cmCacheManager::UNINITIALIZED)) { // if the set is trying to CACHE the value but the value // is already in the cache and the type is not internal |