summaryrefslogtreecommitdiffstats
path: root/Source/cmVTKWrapPythonCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-04-26 20:22:53 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-04-26 20:22:53 (GMT)
commit41e1270413b18272bc73a8b25150aad4c7913563 (patch)
tree97d507f6296c78e5aaf17e1858e610cf95c46ba7 /Source/cmVTKWrapPythonCommand.cxx
parent888e47ddb4215659e76673af4f18aba865ccc4b8 (diff)
downloadCMake-41e1270413b18272bc73a8b25150aad4c7913563.zip
CMake-41e1270413b18272bc73a8b25150aad4c7913563.tar.gz
CMake-41e1270413b18272bc73a8b25150aad4c7913563.tar.bz2
support for debug and opt libraries
Diffstat (limited to 'Source/cmVTKWrapPythonCommand.cxx')
-rw-r--r--Source/cmVTKWrapPythonCommand.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmVTKWrapPythonCommand.cxx b/Source/cmVTKWrapPythonCommand.cxx
index 0a26f8de..729375a 100644
--- a/Source/cmVTKWrapPythonCommand.cxx
+++ b/Source/cmVTKWrapPythonCommand.cxx
@@ -26,9 +26,7 @@ bool cmVTKWrapPythonCommand::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("VTK_WRAP_PYTHON");
- if(!cacheValue || !strcmp(cacheValue,"0"))
+ if(!cmCacheManager::GetInstance()->IsOn("VTK_WRAP_PYTHON"))
{
return true;
}