diff options
Diffstat (limited to 'Source/cmFLTKWrapUICommand.cxx')
-rw-r--r-- | Source/cmFLTKWrapUICommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx index 6b2d611..f761a59 100644 --- a/Source/cmFLTKWrapUICommand.cxx +++ b/Source/cmFLTKWrapUICommand.cxx @@ -94,8 +94,8 @@ bool cmFLTKWrapUICommand::InitialPass(std::vector<std::string> const& args) no_working_dir); cmSourceFile *sf = this->Makefile->GetSource(cxxres.c_str()); - sf->GetDepends().push_back(hname); - sf->GetDepends().push_back(origname); + sf->AddDepend(hname.c_str()); + sf->AddDepend(origname.c_str()); this->GeneratedSourcesClasses.push_back(sf); } } |