diff options
-rw-r--r-- | Source/cmVTKWrapTclCommand.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmVTKWrapTclCommand.cxx b/Source/cmVTKWrapTclCommand.cxx index b6332ea..a9b740c 100644 --- a/Source/cmVTKWrapTclCommand.cxx +++ b/Source/cmVTKWrapTclCommand.cxx @@ -166,7 +166,10 @@ void cmVTKWrapTclCommand::FinalPass() m_Makefile->AddSource(m_WrapClasses[classNum],m_SourceList.c_str()); std::vector<std::string> args; args.push_back(m_WrapHeaders[classNum]); - args.push_back(hints); + if (strcmp("${VTK_WRAP_HINTS}",hints.c_str())) + { + args.push_back(hints); + } args.push_back((m_WrapClasses[classNum].IsAnAbstractClass() ? "0" : "1")); std::string res = m_Makefile->GetCurrentOutputDirectory(); res += "/"; |