diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmAddCustomCommandCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmAddCustomTargetCommand.cxx | 2 | ||||
-rw-r--r-- | Source/cmVTKWrapJavaCommand.cxx | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx index 15df8ed..845a268 100644 --- a/Source/cmAddCustomCommandCommand.cxx +++ b/Source/cmAddCustomCommandCommand.cxx @@ -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()) { diff --git a/Source/cmAddCustomTargetCommand.cxx b/Source/cmAddCustomTargetCommand.cxx index f1f1a77..a2a54e8 100644 --- a/Source/cmAddCustomTargetCommand.cxx +++ b/Source/cmAddCustomTargetCommand.cxx @@ -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; } diff --git a/Source/cmVTKWrapJavaCommand.cxx b/Source/cmVTKWrapJavaCommand.cxx index 9fe0d3b..0cb139f 100644 --- a/Source/cmVTKWrapJavaCommand.cxx +++ b/Source/cmVTKWrapJavaCommand.cxx @@ -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, ""); } |