summaryrefslogtreecommitdiffstats
path: root/Source/cmVTKWrapTclCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmVTKWrapTclCommand.cxx')
-rw-r--r--Source/cmVTKWrapTclCommand.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmVTKWrapTclCommand.cxx b/Source/cmVTKWrapTclCommand.cxx
index 8c76017..4342a82 100644
--- a/Source/cmVTKWrapTclCommand.cxx
+++ b/Source/cmVTKWrapTclCommand.cxx
@@ -49,16 +49,16 @@ bool cmVTKWrapTclCommand::InitialPass(std::vector<std::string>& args)
return false;
}
+ // keep the library name
+ m_LibraryName = args[0];
+
// 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
- if(!cmCacheManager::GetInstance()->IsOn("VTK_WRAP_TCL"))
+ if(!m_Makefile->IsOn("VTK_WRAP_TCL"))
{
return true;
}
- // keep the library name
- m_LibraryName = args[0];
-
// extract the sources and commands parameters
std::vector<std::string> sources;
bool doing_sources = true;