summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-01-03 19:05:32 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-01-03 19:05:32 (GMT)
commita57202fcc49cf6eca8975df127125e5274ada4af (patch)
tree16942b2d951617d82596bf3bed75cf1463ec3cbc
parentd8088655ffdbe947c9e701e49f2b95d6525b6f5d (diff)
downloadCMake-a57202fcc49cf6eca8975df127125e5274ada4af.zip
CMake-a57202fcc49cf6eca8975df127125e5274ada4af.tar.gz
CMake-a57202fcc49cf6eca8975df127125e5274ada4af.tar.bz2
minor fix
-rw-r--r--Source/cmVTKWrapTclCommand.cxx5
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 += "/";