summaryrefslogtreecommitdiffstats
path: root/Source/cmOptionCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-04-24 16:40:37 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-04-24 16:40:37 (GMT)
commit818b0e5bc1755d72e429ab89391254647c194eb5 (patch)
tree3d9f48f45fa5d92d9f5717f35a0a837d8d23a863 /Source/cmOptionCommand.cxx
parent435a8a70338d73d1f1eb1aa1cd431ee6a369765d (diff)
downloadCMake-818b0e5bc1755d72e429ab89391254647c194eb5.zip
CMake-818b0e5bc1755d72e429ab89391254647c194eb5.tar.gz
CMake-818b0e5bc1755d72e429ab89391254647c194eb5.tar.bz2
BUG: fix build directory problem
Diffstat (limited to 'Source/cmOptionCommand.cxx')
-rw-r--r--Source/cmOptionCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmOptionCommand.cxx b/Source/cmOptionCommand.cxx
index 662599f..1ce0d58 100644
--- a/Source/cmOptionCommand.cxx
+++ b/Source/cmOptionCommand.cxx
@@ -30,8 +30,7 @@ bool cmOptionCommand::Invoke(std::vector<std::string>& args)
= cmCacheManager::GetInstance()->GetCacheValue(args[0].c_str());
if(!cacheValue)
{
- cmCacheManager::GetInstance()->AddCacheEntry(args[0].c_str(),"0",
- cmCacheManager::BOOL);
+ cmCacheManager::GetInstance()->AddCacheEntry(args[0].c_str(),false);
m_Makefile->AddDefinition(args[0].c_str(), "0");
}
else