mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06:00
Better error checking.
This commit is contained in:
@@ -69,6 +69,11 @@ bool cmVTKWrapJavaCommand::InitialPass(std::vector<std::string>& args)
|
||||
j != args.end(); ++j)
|
||||
{
|
||||
cmMakefile::SourceMap::iterator l = Classes.find(*j);
|
||||
if (l == Classes.end())
|
||||
{
|
||||
this->SetError("bad source list passed to VTKWrapJavaCommand");
|
||||
return false;
|
||||
}
|
||||
for(std::vector<cmSourceFile>::iterator i = l->second.begin();
|
||||
i != l->second.end(); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user