summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomTargetCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-09-28 17:55:26 (GMT)
committerBrad King <brad.king@kitware.com>2006-09-28 17:55:26 (GMT)
commit7d2de52c1a617a8a559e5c749ce5e6abd3739f01 (patch)
tree3ae6b364d9f04d7cdcacd6ddc8ddd8f9e9bc0063 /Source/cmAddCustomTargetCommand.cxx
parent506dca3990e56281bd0eecd6c26afe6d36caab6e (diff)
downloadCMake-7d2de52c1a617a8a559e5c749ce5e6abd3739f01.zip
CMake-7d2de52c1a617a8a559e5c749ce5e6abd3739f01.tar.gz
CMake-7d2de52c1a617a8a559e5c749ce5e6abd3739f01.tar.bz2
ENH: Cleaned up signature of cmMakefile::AddUtilityCommand. It is not valid to have an output from a utility rule and no calls to the method asked for an output anyway. The argument has been removed.
Diffstat (limited to 'Source/cmAddCustomTargetCommand.cxx')
-rw-r--r--Source/cmAddCustomTargetCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmAddCustomTargetCommand.cxx b/Source/cmAddCustomTargetCommand.cxx
index d9879cf..9d73cd0 100644
--- a/Source/cmAddCustomTargetCommand.cxx
+++ b/Source/cmAddCustomTargetCommand.cxx
@@ -149,8 +149,7 @@ bool cmAddCustomTargetCommand::InitialPass(
// Add the utility target to the makefile.
bool escapeOldStyle = !verbatim;
- const char* no_output = 0;
- this->Makefile->AddUtilityCommand(args[0].c_str(), all, no_output,
+ this->Makefile->AddUtilityCommand(args[0].c_str(), all,
working_directory.c_str(), depends,
commandLines, escapeOldStyle);