minor fix

This commit is contained in:
Ken Martin 2002-01-03 14:05:32 -05:00
parent d8088655ff
commit a57202fcc4
1 changed files with 4 additions and 1 deletions

View File

@ -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 += "/";