ENH: fix broken tests
This commit is contained in:
parent
55dd61946b
commit
ccdca71332
|
@ -211,7 +211,6 @@ bool cmAddCustomCommandCommand::InitialPass(std::vector<std::string> const& args
|
|||
this->SetError(msg.str().c_str());
|
||||
return false;
|
||||
}
|
||||
|
||||
// Choose which mode of the command to use.
|
||||
if(source.empty() && output.empty())
|
||||
{
|
||||
|
|
|
@ -64,7 +64,7 @@ bool cmAddCustomTargetCommand::InitialPass(std::vector<std::string> const& args)
|
|||
{
|
||||
doing = doing_depends;
|
||||
}
|
||||
if(copy == "WORKING_DIRECTORY")
|
||||
else if(copy == "WORKING_DIRECTORY")
|
||||
{
|
||||
doing = doing_working_directory;
|
||||
}
|
||||
|
|
|
@ -185,5 +185,5 @@ void cmVTKWrapJavaCommand::FinalPass()
|
|||
const char* no_working_directory = 0;
|
||||
m_Makefile->AddUtilityCommand((m_LibraryName+"JavaClasses").c_str(),
|
||||
true, no_output,
|
||||
alldepends, "", no_working_directory);
|
||||
alldepends, no_working_directory, "");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue