summaryrefslogtreecommitdiffstats
path: root/Source/cmWrapTclCommand.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/cmWrapTclCommand.cxx
parent435a8a70338d73d1f1eb1aa1cd431ee6a369765d (diff)
downloadCMake-818b0e5bc1755d72e429ab89391254647c194eb5.zip
CMake-818b0e5bc1755d72e429ab89391254647c194eb5.tar.gz
CMake-818b0e5bc1755d72e429ab89391254647c194eb5.tar.bz2
BUG: fix build directory problem
Diffstat (limited to 'Source/cmWrapTclCommand.cxx')
-rw-r--r--Source/cmWrapTclCommand.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmWrapTclCommand.cxx b/Source/cmWrapTclCommand.cxx
index c88b486..063fd8e 100644
--- a/Source/cmWrapTclCommand.cxx
+++ b/Source/cmWrapTclCommand.cxx
@@ -26,13 +26,11 @@ bool cmWrapTclCommand::Invoke(std::vector<std::string>& args)
// Now check and see if the value has been stored in the cache
// already, if so use that value and don't look for the program
- const char* cacheValue
- = cmCacheManager::GetInstance()->GetCacheValue("WRAP_TCL");
- if(!cacheValue || !strcmp(cacheValue,"0"))
+ if(!cmCacheManager::GetInstance()->IsOn("WRAP_TCL"))
{
return true;
}
-
+
// add in a depend in the vtkWrapTcl executable
m_Makefile->AddUtility("vtkWrapTcl");