summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-02-08 20:37:54 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-02-08 20:37:54 (GMT)
commitccdca713322bd88092a93f62d5534ad9932b8feb (patch)
tree1fe8154e6ee543f217fff324989de8b7468053c2 /Source
parent55dd61946b6957e27c65690a0fe20ad4480a4cd5 (diff)
downloadCMake-ccdca713322bd88092a93f62d5534ad9932b8feb.zip
CMake-ccdca713322bd88092a93f62d5534ad9932b8feb.tar.gz
CMake-ccdca713322bd88092a93f62d5534ad9932b8feb.tar.bz2
ENH: fix broken tests
Diffstat (limited to 'Source')
-rw-r--r--Source/cmAddCustomCommandCommand.cxx1
-rw-r--r--Source/cmAddCustomTargetCommand.cxx2
-rw-r--r--Source/cmVTKWrapJavaCommand.cxx2
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, "");
}