diff options
Diffstat (limited to 'Source/cmWrapTclCommand.cxx')
-rw-r--r-- | Source/cmWrapTclCommand.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmWrapTclCommand.cxx b/Source/cmWrapTclCommand.cxx index b6e3d40..522fe46 100644 --- a/Source/cmWrapTclCommand.cxx +++ b/Source/cmWrapTclCommand.cxx @@ -104,9 +104,10 @@ void cmWrapTclCommand::FinalPass() std::string res = m_WrapClasses[classNum].m_ClassName + ".cxx"; std::string cmd = wtcl + " " + m_WrapHeaders[classNum] + " " + hints + (m_WrapClasses[classNum].m_AbstractClass ? " 0 " : " 1 ") + " > " + m_WrapClasses[classNum].m_ClassName + ".cxx"; - m_Makefile->AddCustomCommand(m_WrapHeaders[classNum].c_str(), - res.c_str(), - cmd.c_str(), depends); + m_Makefile->AddCustomCommand(m_WrapHeaders[classNum].c_str(), + cmd.c_str(), + depends, + res.c_str()); } } |