From a57202fcc49cf6eca8975df127125e5274ada4af Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 3 Jan 2002 14:05:32 -0500 Subject: [PATCH] minor fix --- Source/cmVTKWrapTclCommand.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/cmVTKWrapTclCommand.cxx b/Source/cmVTKWrapTclCommand.cxx index b6332eaf97..a9b740c87f 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 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 += "/";